From e805563f70a8919d99da01df9c9a54cce0f2e0cc Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Tue, 6 Apr 2021 01:54:30 +0200 Subject: [PATCH] Revert "Kapito? Rabbito!" This reverts commit 38f826de --- src/de/steamwar/lobby/LobbySystem.java | 2 -- src/de/steamwar/lobby/listener/PlayerConnectionListener.java | 1 - 2 files changed, 3 deletions(-) diff --git a/src/de/steamwar/lobby/LobbySystem.java b/src/de/steamwar/lobby/LobbySystem.java index 736fb9f..1bdab28 100644 --- a/src/de/steamwar/lobby/LobbySystem.java +++ b/src/de/steamwar/lobby/LobbySystem.java @@ -44,8 +44,6 @@ public class LobbySystem extends JavaPlugin { pm.registerEvents(new EnderPearlListener(), instance); getCommand("fly").setExecutor(new FlyCommand()); - - new RabbitListener(); } diff --git a/src/de/steamwar/lobby/listener/PlayerConnectionListener.java b/src/de/steamwar/lobby/listener/PlayerConnectionListener.java index 57d1abe..ab66243 100644 --- a/src/de/steamwar/lobby/listener/PlayerConnectionListener.java +++ b/src/de/steamwar/lobby/listener/PlayerConnectionListener.java @@ -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);