SteamWar/FightSystem
Archiviert
13
1

Fix ready
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2022-05-21 15:33:41 +02:00
Ursprung 334268ec94
Commit 81c714daec

Datei anzeigen

@ -77,7 +77,7 @@ public class HotbarKit extends Kit implements Listener {
super.loadToPlayer(player); super.loadToPlayer(player);
} }
@EventHandler @EventHandler(ignoreCancelled = true)
public void handlePlayerInteract(PlayerInteractEvent event) { public void handlePlayerInteract(PlayerInteractEvent event) {
Player player = event.getPlayer(); Player player = event.getPlayer();
int slot = player.getInventory().getHeldItemSlot(); int slot = player.getInventory().getHeldItemSlot();