Paper/src/main/java/net/minecraft
Nate Mortensen 5c8498c8b7 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.
2013-06-13 22:01:50 -05:00
..
server Fix cancellation for InventoryDragEvent. Fixes BUKKIT-4332 2013-06-13 22:01:50 -05:00