diff options
author | Connor Linfoot <connorlinfoot@me.com> | 2024-06-16 22:00:45 +0100 |
---|---|---|
committer | Connor Linfoot <connorlinfoot@me.com> | 2024-06-16 22:00:45 +0100 |
commit | 787362dab72cef13bc97d030c2d7c22b9d32c176 (patch) | |
tree | 98b20017bbb4e76094d73bc347974a7d4413fffb /src/main/java/net/hypixel/modapi | |
parent | 8985789d26a492efad92f39c5ee8d79198666ceb (diff) | |
download | HyPixelForgeModAPI-787362dab72cef13bc97d030c2d7c22b9d32c176.tar.gz HyPixelForgeModAPI-787362dab72cef13bc97d030c2d7c22b9d32c176.tar.bz2 HyPixelForgeModAPI-787362dab72cef13bc97d030c2d7c22b9d32c176.zip |
fix: remove location event packet always being registered
Diffstat (limited to 'src/main/java/net/hypixel/modapi')
-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); } |