aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2024-05-18 18:50:01 -0400
committerGitHub <noreply@github.com>2024-05-18 23:50:01 +0100
commit87ac5fb69326dae0b7a46f73b2d62faeeccd5d90 (patch)
tree1d6c018f40d681a8685c2753d8a4348e26338df3 /src
parentccec6c05ad8298c39e1780e0746cd7723bd3f84b (diff)
downloadHyPixelForgeModAPI-87ac5fb69326dae0b7a46f73b2d62faeeccd5d90.tar.gz
HyPixelForgeModAPI-87ac5fb69326dae0b7a46f73b2d62faeeccd5d90.tar.bz2
HyPixelForgeModAPI-87ac5fb69326dae0b7a46f73b2d62faeeccd5d90.zip
fix: mark HypixelPacketHandler as Sharable (#1)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/net/hypixel/modapi/forge/ForgeModAPI.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/net/hypixel/modapi/forge/ForgeModAPI.java b/src/main/java/net/hypixel/modapi/forge/ForgeModAPI.java
index de29195..e5a739c 100644
--- a/src/main/java/net/hypixel/modapi/forge/ForgeModAPI.java
+++ b/src/main/java/net/hypixel/modapi/forge/ForgeModAPI.java
@@ -51,6 +51,7 @@ public class ForgeModAPI {
return true;
}
+ @ChannelHandler.Sharable
private static class HypixelPacketHandler extends SimpleChannelInboundHandler<Packet<?>> {
private static final HypixelPacketHandler INSTANCE = new HypixelPacketHandler();