always join as hider
This commit is contained in:
parent
0c233f3ce4
commit
94afcb9c88
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@ public class EventManager implements Listener {
|
||||||
event.getPlayer().removePotionEffect(effect.getType());
|
event.getPlayer().removePotionEffect(effect.getType());
|
||||||
}
|
}
|
||||||
event.getPlayer().teleport(new Location(event.getPlayer().getWorld(), spawnPosition.getX(),spawnPosition.getY(),spawnPosition.getZ()));
|
event.getPlayer().teleport(new Location(event.getPlayer().getWorld(), spawnPosition.getX(),spawnPosition.getY(),spawnPosition.getZ()));
|
||||||
|
} else if(status.equals("Setup") || status.equals("Standby")) {
|
||||||
|
Hider.addEntry(event.getPlayer().getName());
|
||||||
}
|
}
|
||||||
playerList.put(event.getPlayer().getName(), event.getPlayer());
|
playerList.put(event.getPlayer().getName(), event.getPlayer());
|
||||||
if(board == null) BoardManager.loadScoreboard();
|
if(board == null) BoardManager.loadScoreboard();
|
||||||
|
|
Loading…
Reference in a new issue