diff --git a/src/me/yaruma/fightsystem/listener/PlayerMoveListener.java b/src/me/yaruma/fightsystem/listener/PlayerMoveListener.java index 161aadd..58c0716 100644 --- a/src/me/yaruma/fightsystem/listener/PlayerMoveListener.java +++ b/src/me/yaruma/fightsystem/listener/PlayerMoveListener.java @@ -59,7 +59,9 @@ public class PlayerMoveListener implements Listener { player.teleport(from); player.sendMessage(FightSystem.PREFIX + "§cDu darfst nicht weiter zu den Kämpfern!"); } - }else if(fightTeam != null && !instance.isEntern() && !fightTeam.getFightPlayer(player).isOut()){ + }else if(fightTeam != null && ( + (!FightSystem.isEntern() && !fightTeam.getFightPlayer(player).isOut()) || + FightSystem.getFightState() == FightState.SPECTATE)){ player.teleport(from); player.sendMessage(FightSystem.PREFIX + "§cDu darfst nicht zu " + Fight.getOpposite(fightTeam).getName() + "§c!"); }