diff --git a/Plugins/Nautilus.Game.MineKart/src/nautilus/game/minekart/MineKart.java b/Plugins/Nautilus.Game.MineKart/src/nautilus/game/minekart/MineKart.java index f8aa024fa..0ff378c8d 100644 --- a/Plugins/Nautilus.Game.MineKart/src/nautilus/game/minekart/MineKart.java +++ b/Plugins/Nautilus.Game.MineKart/src/nautilus/game/minekart/MineKart.java @@ -24,7 +24,6 @@ import mineplex.core.fakeEntity.FakeEntityManager; import mineplex.core.itemstack.ItemStackFactory; import mineplex.core.npc.NpcManager; import mineplex.core.packethandler.PacketHandler; -import mineplex.core.packethandler.PlayerNamer; import mineplex.core.pet.PetManager; import mineplex.core.projectile.ProjectileManager; import mineplex.core.punish.Punish; @@ -154,10 +153,9 @@ public class MineKart extends JavaPlugin implements INautilusPlugin, IPlugin, Li //_serverListener = new ServerListener(GetWebServerAddress(), getServer().getIp(), getServer().getPort() + 1); - PlayerNamer playerNamer = new PlayerNamer(this, new PacketHandler(this), null); //new TabLobbyList(this, playerNamer.PacketHandler, _clientManager, _donationManager, true); - FakeEntityManager.Instance.SetPacketHandler(playerNamer.PacketHandler); + FakeEntityManager.Instance.SetPacketHandler(new PacketHandler(this)); DonationManager donationManager = new DonationManager(this, GetWebServerAddress()); _npcManager = new NpcManager(this, _creature);