Skip to content

Commit

Permalink
fixed neoforge register event handler
Browse files Browse the repository at this point in the history
  • Loading branch information
topi-banana committed Dec 2, 2024
1 parent 7f03931 commit 91089b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/vulpeus/kyoyu/KyoyuMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ public class KyoyuMod
//? if FABRIC
KyoyuPacketPayload.register();
//? if NEOFORGE
/* net.neoforged.neoforge.common.NeoForge.EVENT_BUS.register(KyoyuPacketPayload.class); */
/* modBus.addListener(KyoyuPacketPayload::register); */
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ public static void register() {
}
//?} elif NEOFORGE {
/*
@SubscribeEvent
public static void register(final RegisterPayloadHandlersEvent event) {
final PayloadRegistrar registrar = event.registrar("1");
registrar.playBidirectional(
Expand Down

0 comments on commit 91089b4

Please sign in to comment.