diff --git a/common/src/main/java/li/cil/tis3d/common/network/Network.java b/common/src/main/java/li/cil/tis3d/common/network/Network.java index 684541bb..7aa810e7 100644 --- a/common/src/main/java/li/cil/tis3d/common/network/Network.java +++ b/common/src/main/java/li/cil/tis3d/common/network/Network.java @@ -80,7 +80,7 @@ public static void initialize() { } private static void registerMessage(final Class type, final Function decoder, final NetworkManager.Side side) { - final ResourceLocation id = new ResourceLocation(API.MOD_ID, type.getSimpleName().replaceAll("Message$", "").toLowerCase()); + final ResourceLocation id = new ResourceLocation(API.MOD_ID, type.getSimpleName().replaceAll("Message$", "").toLowerCase(Locale.US)); MESSAGE_IDS.put(type, id); if (side != NetworkManager.serverToClient() || Platform.getEnv() == EnvType.CLIENT) { NetworkManager.registerReceiver(side, id, (buffer, context) -> {