From 7530ce4eb663aab74065980d9fc77c0726f33fd8 Mon Sep 17 00:00:00 2001 From: MrCrayfish Date: Fri, 28 Jan 2022 22:50:54 +1030 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20Made=20login=20data=20registrati?= =?UTF-8?q?on=20synchronized?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/mrcrayfish/framework/network/Network.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) {