Skip to content

Commit

Permalink
Rename Common Main Function
Browse files Browse the repository at this point in the history
  • Loading branch information
EmpressAutumn committed Aug 7, 2024
1 parent 52e0cdd commit 076d37e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions common/src/main/java/com/atom596/titanium/Titanium.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class Titanium {
public static final String MOD_ID = "titanium";
public static final org.slf4j.Logger LOGGER = LoggerFactory.getLogger(MOD_ID);

public static void init() {
public static void initialize() {
TitaniumArmorMaterial.initialize();
TitaniumPotions.initialize();

Expand All @@ -22,6 +22,5 @@ public static void init() {
TitaniumItemGroup.register();

//TitaniumWorldGeneration.generateModWorldGen();
LOGGER.info("Initialized Titanium by EmpressAutumn");
}
}
4 changes: 2 additions & 2 deletions fabric/src/main/java/com/atom596/titanium/TitaniumFabric.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public class TitaniumFabric implements ModInitializer {

@Override
public void onInitialize() {
Titanium.LOGGER.info("Hello Fabric world!");
Titanium.init();
Titanium.initialize();
Titanium.LOGGER.info("Initialized Titanium by EmpressAutumn");
}
}

0 comments on commit 076d37e

Please sign in to comment.