diff options
Diffstat (limited to 'src/main/java/com/anthonyhilyard/iceberg/Loader.java')
-rw-r--r-- | src/main/java/com/anthonyhilyard/iceberg/Loader.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/com/anthonyhilyard/iceberg/Loader.java b/src/main/java/com/anthonyhilyard/iceberg/Loader.java index b1ff65a..38aa9c1 100644 --- a/src/main/java/com/anthonyhilyard/iceberg/Loader.java +++ b/src/main/java/com/anthonyhilyard/iceberg/Loader.java @@ -1,5 +1,7 @@ package com.anthonyhilyard.iceberg; +import com.anthonyhilyard.iceberg.network.IcebergNetworkProtocol; + import org.apache.commons.lang3.tuple.Pair; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; @@ -31,6 +33,10 @@ public class Loader { new IcebergServer(); } + + // Register the network protocol. + IcebergNetworkProtocol.register(); + ModLoadingContext.get().registerExtensionPoint(ExtensionPoint.DISPLAYTEST, () -> Pair.of(() -> FMLNetworkConstants.IGNORESERVERONLY, (a, b) -> true)); } |