Fixed up MK
This commit is contained in:
parent
7dbfe9d0dc
commit
606f631559
@ -24,7 +24,6 @@ import mineplex.core.fakeEntity.FakeEntityManager;
|
|||||||
import mineplex.core.itemstack.ItemStackFactory;
|
import mineplex.core.itemstack.ItemStackFactory;
|
||||||
import mineplex.core.npc.NpcManager;
|
import mineplex.core.npc.NpcManager;
|
||||||
import mineplex.core.packethandler.PacketHandler;
|
import mineplex.core.packethandler.PacketHandler;
|
||||||
import mineplex.core.packethandler.PlayerNamer;
|
|
||||||
import mineplex.core.pet.PetManager;
|
import mineplex.core.pet.PetManager;
|
||||||
import mineplex.core.projectile.ProjectileManager;
|
import mineplex.core.projectile.ProjectileManager;
|
||||||
import mineplex.core.punish.Punish;
|
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);
|
//_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);
|
//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());
|
DonationManager donationManager = new DonationManager(this, GetWebServerAddress());
|
||||||
|
|
||||||
_npcManager = new NpcManager(this, _creature);
|
_npcManager = new NpcManager(this, _creature);
|
||||||
|
Loading…
Reference in New Issue
Block a user