Merge pull request #29 from jkobus/patch-1
Fix for Chestshop ignoring event cancellation
This commit is contained in:
commit
9b243e8e7d
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue