Disable manually loading instance of FabricAPI; let PE dep do it

This commit is contained in:
Axionize committed 2025-03-23 03:05:44 -04:00
1 parent 921c009a59
commit c970c1af6f
1 file changed
+2 -2
@@ -68,8 +68,8 @@ public class FabricBase extends Base {
@Override
public void load() {
PacketEvents.setAPI(new FabricPacketEventsAPI("knockbacksync", EnvType.SERVER));
PacketEvents.getAPI().load();
// Since we JiJ PacketEvents and depend on it on Fabric, we can always just get the API instance since it loads firsts
// No need to make an API instance and load it
}
@Override