mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-23 14:02:18 +00:00
Move Create integration setup to its proper place
Merge conflict gone wrong, I assume.
This commit is contained in:
parent
fbf994e803
commit
5fa724ed24
@ -125,12 +125,12 @@ public class ComputerCraft {
|
||||
ComputerCraftAPI.registerGenericSource(new InventoryMethods());
|
||||
|
||||
Peripherals.addGenericLookup(InventoryMethods::extractContainer);
|
||||
|
||||
if (FabricLoader.getInstance().isModLoaded(CreateIntegration.ID)) CreateIntegration.setup();
|
||||
}
|
||||
|
||||
private static <B extends FriendlyByteBuf, T extends CustomPacketPayload> void registerPayloadType(PayloadTypeRegistry<B> registry, CustomPacketPayload.TypeAndCodec<B, T> type) {
|
||||
registry.register(type.type(), type.codec());
|
||||
|
||||
if (FabricLoader.getInstance().isModLoaded(CreateIntegration.ID)) CreateIntegration.setup();
|
||||
}
|
||||
|
||||
private record ReloadListener(String name, PreparableReloadListener listener)
|
||||
|
Loading…
x
Reference in New Issue
Block a user