Listen to inventory drag

This commit is contained in:
HunterGPlays
2016-04-24 06:10:26 +01:00
parent 6885fc0446
commit 5618061016
@@ -132,6 +132,7 @@ public class Listeners implements Listener {
}
@EventHandler(ignoreCancelled = true)
public void onDrag(InventoryDragEvent event) {
if (!(event.getWhoClicked() instanceof Player)) {
return;
}