Skip to content

Commit c15c226

Browse files
committed
Fix client/server handshake warning.
1 parent 5c70dde commit c15c226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/darkhax/openloader/OpenLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public final class OpenLoader {
2424
public OpenLoader () {
2525

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

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

0 commit comments

Comments
 (0)