Skip to content

Commit

Permalink
📦 Made login data registration synchronized
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCrayfish committed Jan 28, 2022
1 parent 93fd5aa commit 7530ce4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public static SimpleChannel getPlayChannel()
return PLAY_CHANNEL;
}

public static void registerLoginData(ResourceLocation id, Supplier<? extends ILoginData> data)
public synchronized static void registerLoginData(ResourceLocation id, Supplier<? extends ILoginData> data)
{
if(Framework.isGameLoaded())
{
Expand Down

0 comments on commit 7530ce4

Please sign in to comment.