Skip to content

Commit

Permalink
Fix sending config on forge
Browse files Browse the repository at this point in the history
  • Loading branch information
dima-dencep committed Jun 3, 2023
1 parent af0386b commit 16eacf2
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -6,6 +6,7 @@
import net.minecraftforge.client.ConfigScreenHandler;
import net.minecraftforge.client.event.ClientPlayerNetworkEvent;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.IExtensionPoint;
import net.minecraftforge.fml.ModLoadingContext;
import net.minecraftforge.fml.common.Mod;
Expand Down Expand Up @@ -34,6 +35,7 @@ public ForgeOnlineEmotes() {
);
}

@SubscribeEvent
public void onJoin(ClientPlayerNetworkEvent.LoggingIn event) {
if (proxy.isActive()) {
proxy.sendConfigCallback();
Expand Down

0 comments on commit 16eacf2

Please sign in to comment.