From 81c714daeca0081518e2774d6a9208bc40750e0f Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 21 May 2022 15:33:41 +0200 Subject: [PATCH] Fix ready Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/fight/HotbarKit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/fight/HotbarKit.java b/FightSystem_Core/src/de/steamwar/fightsystem/fight/HotbarKit.java index 09fa533..3615686 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/fight/HotbarKit.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/fight/HotbarKit.java @@ -77,7 +77,7 @@ public class HotbarKit extends Kit implements Listener { super.loadToPlayer(player); } - @EventHandler + @EventHandler(ignoreCancelled = true) public void handlePlayerInteract(PlayerInteractEvent event) { Player player = event.getPlayer(); int slot = player.getInventory().getHeldItemSlot();