Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
TexBlock committed Oct 5, 2024
1 parent ec680c0 commit 1710e9f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import band.kessoku.lib.command.KessokuCommand;

import net.neoforged.fml.common.Mod;
import net.neoforged.fml.loading.FMLLoader;
import net.neoforged.neoforge.common.NeoForge;

@Mod(KessokuCommand.MOD_ID)
Expand All @@ -27,6 +28,8 @@ public KessokuCommandNeoforge() {
var forgeEventBus = NeoForge.EVENT_BUS;
KessokuLib.loadModule(KessokuCommand.class);
KessokuCommandImpl.registerCommonEvents(forgeEventBus);
KessokuCommandImpl.registerClientEvents(forgeEventBus);
if (FMLLoader.getDist().isClient()) {
KessokuCommandImpl.registerClientEvents(forgeEventBus);
}
}
}

0 comments on commit 1710e9f

Please sign in to comment.