Ursprung
4abe76b15c
Commit
e805563f70
@ -44,8 +44,6 @@ public class LobbySystem extends JavaPlugin {
|
||||
pm.registerEvents(new EnderPearlListener(), instance);
|
||||
|
||||
getCommand("fly").setExecutor(new FlyCommand());
|
||||
|
||||
new RabbitListener();
|
||||
}
|
||||
|
||||
|
||||
|
@ -46,7 +46,6 @@ public class PlayerConnectionListener implements Listener {
|
||||
player.teleport(new Location(Bukkit.getWorlds().get(0), Config.SpawnX, Config.SpawnY, Config.SpawnZ, Config.Yaw, Config.Pitch));
|
||||
player.getInventory().clear();
|
||||
LobbyInventory.givePlayerLobbyItems(player);
|
||||
player.getInventory().setHelmet(RabbitListener.EGG_HEAD);
|
||||
player.setGameMode(GameMode.ADVENTURE);
|
||||
player.setHealth(20);
|
||||
player.setFoodLevel(20);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren