From 41b76d3ed7edcd71c5d22652fff7051c958c7e67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20N=C3=BCcke?= Date: Sun, 17 Sep 2023 01:14:40 +0200 Subject: [PATCH] Attempt to blind fix #193. --- common/src/main/java/li/cil/tis3d/common/network/Network.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -> {