summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/ContainerPlayer.java
diff options
context:
space:
mode:
authorNate Mortensen <nate.richard.mortensen@gmail.com>2013-06-13 16:03:39 -0600
committerWesley Wolfe <weswolf@aol.com>2013-06-13 22:01:50 -0500
commit5c8498c8b73bd9bedb6aa530acb5b315ca318008 (patch)
tree8c2dfc89432ae7bc2bda26a23e56c2a4557c132e /src/main/java/net/minecraft/server/ContainerPlayer.java
parent930a9e805c453ff4ab924177e58fa4a5a8d70552 (diff)
downloadcraftbukkit-5c8498c8b73bd9bedb6aa530acb5b315ca318008.tar
craftbukkit-5c8498c8b73bd9bedb6aa530acb5b315ca318008.tar.gz
craftbukkit-5c8498c8b73bd9bedb6aa530acb5b315ca318008.tar.lz
craftbukkit-5c8498c8b73bd9bedb6aa530acb5b315ca318008.tar.xz
craftbukkit-5c8498c8b73bd9bedb6aa530acb5b315ca318008.zip
Fix cancellation for InventoryDragEvent. Fixes BUKKIT-4332
Cancelling InventoryDragEvent causes the placed items to be lost. This is because the cursor is set to the result prior to the event taking place, so the items are removed from the cursor. When the event is cancelled, the items removed from the cursor aren't placed in the inventory, and are just lost. This change sets the cursor back to the original cursor when the event is cancelled.
Diffstat (limited to 'src/main/java/net/minecraft/server/ContainerPlayer.java')
0 files changed, 0 insertions, 0 deletions