Merge branch 'shieldDisabler' of SteamWar/LobbySystem into master
Dieser Commit ist enthalten in:
Commit
81e8d19f70
@ -22,7 +22,8 @@ public class PlayerConnectionListener implements Listener {
|
||||
event.setJoinMessage(null);
|
||||
Player player = event.getPlayer();
|
||||
|
||||
LobbyPlayer.getLobbyPlayer(player.getUniqueId()); //initialisiert einen neuen LP falls nicht vorhanden
|
||||
LobbyPlayer lp = LobbyPlayer.getLobbyPlayer(player.getUniqueId()); //initialisiert einen neuen LP falls nicht vorhanden
|
||||
lp.setShield(false);
|
||||
|
||||
player.teleport(new Location(Bukkit.getWorlds().get(0), Config.SpawnX, Config.SpawnY, Config.SpawnZ, Config.Yaw, Config.Pitch));
|
||||
player.getInventory().clear();
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren