Skip to content

Commit

Permalink
Use preInit to register items/blocks/fluids
Browse files Browse the repository at this point in the history
  • Loading branch information
glowredman committed Dec 3, 2023
1 parent c10c2af commit 1af070f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/main/java/com/github/bartimaeusnek/cropspp/Cropspp.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,16 +152,14 @@ public void preInit(FMLPreInitializationEvent preinit) {
if (ModsLoaded.dreamcraft) CropItemList.cropSynthesiserUHV.set(
new CropSynthesiser(12527, "Advanced Crop Synthesiser IIX", "Advanced Crop Synthesiser IIX", 9)
.getStackForm(1L));
new CppFluids();
}
CppItems.register_Items();
CppItems.OreDictItems();
}

@EventHandler
public void init(FMLInitializationEvent init) {
if (ModsLoaded.GT) {
final CppFluids CppFluids = new CppFluids();
}
CppItems.register_Items();
CppItems.OreDictItems();
CppItems.register_recipes();
BiomeHumidityBonus.apply();
}
Expand Down

0 comments on commit 1af070f

Please sign in to comment.