diff --git a/src/main/java/com/mrcrayfish/framework/network/Network.java b/src/main/java/com/mrcrayfish/framework/network/Network.java index 8ed5b682..7e0f82ef 100644 --- a/src/main/java/com/mrcrayfish/framework/network/Network.java +++ b/src/main/java/com/mrcrayfish/framework/network/Network.java @@ -54,7 +54,7 @@ public static SimpleChannel getPlayChannel() return PLAY_CHANNEL; } - public static void registerLoginData(ResourceLocation id, Supplier data) + public synchronized static void registerLoginData(ResourceLocation id, Supplier data) { if(Framework.isGameLoaded()) {