diff options
-rwxr-xr-x | build.gradle | 2 | ||||
-rw-r--r-- | src/main/java/net/hypixel/modapi/forge/ForgeModAPI.java | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index c2d1ce5..e427246 100755 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ buildscript { repositories { maven { name = "forge" - url = "http://files.minecraftforge.net/maven" + url = "https://files.minecraftforge.net/maven" } } dependencies { 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(); |