Bukkit/CraftBukkit — pull request #1025 by Acrobot (2013-02-09 22:39:04+00:00)
Title: Closing inventory on teleport [FIXES BUKKIT-3021]

Well, this was easier than I thought.