From 394ccc251e5e54d303d81ecd905fced1695c300c Mon Sep 17 00:00:00 2001 From: Lixfel Date: Mon, 24 May 2021 15:24:07 +0200 Subject: [PATCH] Hotfix hotbargui Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/listener/HotbarGUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/listener/HotbarGUI.java b/FightSystem_Main/src/de/steamwar/fightsystem/listener/HotbarGUI.java index 6b52db4..94ff28a 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/listener/HotbarGUI.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/listener/HotbarGUI.java @@ -45,10 +45,10 @@ public class HotbarGUI implements Listener { if(PersonalKitCreator.inKitCreator(player)) return; - event.setCancelled(true); if(event.getItem() == null) return; + event.setCancelled(true); FightTeam fightTeam = Fight.getPlayerTeam(player); if(fightTeam == null) return;