Debug messages, reduce triple end to double end
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
a3e32ca3ab
Commit
159267935c
@ -72,6 +72,7 @@ public class LeaveableArena implements Listener {
|
|||||||
|
|
||||||
boolean inArena = Config.ArenaRegion.in2dRegion(event.getTo());
|
boolean inArena = Config.ArenaRegion.in2dRegion(event.getTo());
|
||||||
boolean spectator = spectatorsInArena.containsKey(player);
|
boolean spectator = spectatorsInArena.containsKey(player);
|
||||||
|
System.out.println(inArena + " " + spectator);
|
||||||
|
|
||||||
if(inArena && !spectator) {
|
if(inArena && !spectator) {
|
||||||
markInArena(player);
|
markInArena(player);
|
||||||
|
@ -478,8 +478,10 @@ public class PacketProcessor {
|
|||||||
private void endReplay() {
|
private void endReplay() {
|
||||||
REntity.dieAll();
|
REntity.dieAll();
|
||||||
freezer.disable();
|
freezer.disable();
|
||||||
FightSystem.getMessage().broadcast("REPLAY_ENDS");
|
if(!Config.replayserver()) {
|
||||||
FightState.setFightState(FightState.SPECTATE);
|
FightSystem.getMessage().broadcast("REPLAY_ENDS");
|
||||||
|
FightState.setFightState(FightState.SPECTATE);
|
||||||
|
}
|
||||||
currentProcessor = null;
|
currentProcessor = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren