Disable manually loading instance of FabricAPI; let PE dep do it
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user