Skip to content

Commit

Permalink
Fix client/server handshake warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkhax committed Oct 26, 2021
1 parent 5c70dde commit c15c226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/darkhax/openloader/OpenLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public final class OpenLoader {
public OpenLoader () {

// Allow clients without the OpenLoader to connect to a server with it.
ModLoadingContext.get().registerExtensionPoint(DisplayTest.class, () -> new DisplayTest( () -> FMLNetworkConstants.IGNORESERVERONLY, (s, b) -> false));
ModLoadingContext.get().registerExtensionPoint(DisplayTest.class, () -> new DisplayTest( () -> FMLNetworkConstants.IGNORESERVERONLY, (s, b) -> true));

// Register the configuration file with Forge and force load it.
ModLoadingContext.get().registerConfig(ModConfig.Type.COMMON, CONFIG.getSpec(), "openloader/advanced-settings.toml");
Expand Down

0 comments on commit c15c226

Please sign in to comment.