diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/net/hypixel/modapi/forge/ForgeModAPI.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/net/hypixel/modapi/forge/ForgeModAPI.java b/src/main/java/net/hypixel/modapi/forge/ForgeModAPI.java index 9b8777c..6795d9f 100644 --- a/src/main/java/net/hypixel/modapi/forge/ForgeModAPI.java +++ b/src/main/java/net/hypixel/modapi/forge/ForgeModAPI.java @@ -6,7 +6,6 @@ import io.netty.channel.ChannelHandlerContext; import io.netty.channel.SimpleChannelInboundHandler; import net.hypixel.modapi.HypixelModAPI; import net.hypixel.modapi.packet.HypixelPacket; -import net.hypixel.modapi.packet.impl.clientbound.event.ClientboundLocationPacket; import net.hypixel.modapi.serializer.PacketSerializer; import net.minecraft.client.Minecraft; import net.minecraft.client.network.NetHandlerPlayClient; @@ -36,7 +35,6 @@ public class ForgeModAPI { @Mod.EventHandler public void init(FMLPostInitializationEvent event) { MinecraftForge.EVENT_BUS.register(this); - HypixelModAPI.getInstance().subscribeToEventPacket(ClientboundLocationPacket.class); HypixelModAPI.getInstance().setPacketSender(this::sendPacket); } |