Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
159267935c
Commit
d5140b83a0
@ -93,6 +93,7 @@ public class FightSystem extends JavaPlugin {
|
|||||||
new ArrowStopper();
|
new ArrowStopper();
|
||||||
new ArrowPickup();
|
new ArrowPickup();
|
||||||
new BlockFadeListener();
|
new BlockFadeListener();
|
||||||
|
new LeaveableArena();
|
||||||
|
|
||||||
new EnterHandler();
|
new EnterHandler();
|
||||||
new TechHider();
|
new TechHider();
|
||||||
|
@ -72,7 +72,6 @@ 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);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren