Merge pull request #29 from jkobus/patch-1

Fix for Chestshop ignoring event cancellation
This commit is contained in:
Andrzej Pomirski 2014-03-20 16:22:29 +01:00
commit 9b243e8e7d
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ import static org.bukkit.event.block.Action.RIGHT_CLICK_BLOCK;
*/
public class PlayerInteract implements Listener {
@EventHandler(priority = EventPriority.HIGHEST)
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
public static void onInteract(PlayerInteractEvent event) {
Block block = event.getClickedBlock();