No Autoclose on spectateservers #330
@ -31,7 +31,7 @@ import org.bukkit.event.player.PlayerQuitEvent;
|
||||
public class Shutdown implements Listener {
|
||||
|
||||
public Shutdown(){
|
||||
new StateDependentListener(ArenaMode.AntiEvent, FightState.All, this);
|
||||
new StateDependentListener(ArenaMode.AntiEvent.contains(Config.mode) && !Config.replayserver(), FightState.All, this);
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren