SteamWar/FightSystem
Archiviert
13
1

Hotfix hotbargui

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2021-05-24 15:24:07 +02:00
Ursprung ead9568d6a
Commit 394ccc251e

Datei anzeigen

@ -45,10 +45,10 @@ public class HotbarGUI implements Listener {
if(PersonalKitCreator.inKitCreator(player)) if(PersonalKitCreator.inKitCreator(player))
return; return;
event.setCancelled(true);
if(event.getItem() == null) if(event.getItem() == null)
return; return;
event.setCancelled(true);
FightTeam fightTeam = Fight.getPlayerTeam(player); FightTeam fightTeam = Fight.getPlayerTeam(player);
if(fightTeam == null) if(fightTeam == null)
return; return;