This commit is contained in:
Shaun Bennett 2015-11-12 22:35:56 -05:00
parent f3e94cc035
commit 40138b6914

View File

@ -184,7 +184,7 @@ public class GearManager extends MiniPlugin implements IPacketHandler, Runnable
.registerTypeAdapterFactory(customItemType) .registerTypeAdapterFactory(customItemType)
.create(); .create();
packetHandler.addPacketHandler(this); packetHandler.addPacketHandler(this, PacketPlayOutSetSlot.class, PacketPlayOutWindowItems.class);
plugin.getServer().getScheduler().runTaskTimer(plugin, this, 1l, 1l); plugin.getServer().getScheduler().runTaskTimer(plugin, this, 1l, 1l);
} }