Bump network version

- This prevents a client from joining a server if they have different
network versions.
This commit is contained in:
PepperCode1 2022-09-27 14:51:36 -07:00
parent 83a3de8930
commit e74bdaa262

View File

@ -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;