Create identifier with separate components

Quite useless change, though may help by interning
This commit is contained in:
altrisi committed 2023-07-26 19:59:29 +02:00
1 parent ac588c3e55
commit a05776a576
1 file changed
+1 -1
@@ -20,7 +20,7 @@ public class CarpetClient
private static LocalPlayer clientPlayer = null; private static LocalPlayer clientPlayer = null;
private static boolean isServerCarpet = false; private static boolean isServerCarpet = false;
public static String serverCarpetVersion; public static String serverCarpetVersion;
public static final ResourceLocation CARPET_CHANNEL = new ResourceLocation("carpet:hello"); public static final ResourceLocation CARPET_CHANNEL = new ResourceLocation("carpet", "hello");
public static void gameJoined(LocalPlayer player) public static void gameJoined(LocalPlayer player)
{ {