Skip to content

Commit

Permalink
Fix connection (#647)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakambda authored Dec 15, 2023
1 parent 573e28c commit bbe1e4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ForgePacketHandler implements ClientPacketHandler, ServerPacketHand
public static final SimpleChannel INSTANCE = NetworkRegistry.newSimpleChannel(
new ResourceLocation(FallingTree.MOD_ID, "main"),
() -> PROTOCOL_VERSION,
PROTOCOL_VERSION::equals,
NetworkRegistry.acceptMissingOr(PROTOCOL_VERSION),
v -> ALLOWED_VERSIONS.stream().anyMatch(v::equals)
);

Expand Down

0 comments on commit bbe1e4e

Please sign in to comment.