From e74bdaa262672000a695889df0e83c6c99242115 Mon Sep 17 00:00:00 2001 From: PepperCode1 <44146161+PepperCode1@users.noreply.github.com> Date: Tue, 27 Sep 2022 14:51:36 -0700 Subject: [PATCH] Bump network version - This prevents a client from joining a server if they have different network versions. --- .../com/simibubi/create/foundation/networking/AllPackets.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/foundation/networking/AllPackets.java b/src/main/java/com/simibubi/create/foundation/networking/AllPackets.java index a87c02ef6..10c6a635f 100644 --- a/src/main/java/com/simibubi/create/foundation/networking/AllPackets.java +++ b/src/main/java/com/simibubi/create/foundation/networking/AllPackets.java @@ -188,7 +188,7 @@ public enum AllPackets { ; public static final ResourceLocation CHANNEL_NAME = Create.asResource("main"); - public static final int NETWORK_VERSION = 1; + public static final int NETWORK_VERSION = 2; public static final String NETWORK_VERSION_STR = String.valueOf(NETWORK_VERSION); public static SimpleChannel channel;