Skip to content

Commit

Permalink
do not load create compat pack when presumably on forge (crash)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaFuqs committed Oct 3, 2024
1 parent 4cfc259 commit 40d8fbe
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ public static void register() {
registerIntegrationPack(TRAVELERS_BACKPACK_ID, () -> new TravelersBackpackCompat());
registerIntegrationPack(BOTANIA_ID, () -> new BotaniaCompat());
registerIntegrationPack(MODONOMICON_ID, () -> new ModonomiconCompat());
registerIntegrationPack(CREATE_ID, () -> new CreateCompat());
if (!FabricLoader.getInstance().isModLoaded("forgified-fabric-api")) {
registerIntegrationPack(CREATE_ID, () -> new CreateCompat());
}

for (ModIntegrationPack container : INTEGRATION_PACKS.values()) {
container.register();
Expand Down

0 comments on commit 40d8fbe

Please sign in to comment.