mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
ReAdd disabling of machines crafting recipes
This commit is contained in:
1 parent
8cb3d73b39
commit
2b44ab8666
77 files changed
+469
-68
No files matched your search
@@ -281,7 +281,7 @@ public class Mekanism
|
||||
*/
|
||||
public void addRecipes()
|
||||
{
|
||||
if(false) // Generate JSON files from code, disabled.
|
||||
if(true) // Generate JSON files from code, disabled.
|
||||
{
|
||||
MekanismRecipes.generate();
|
||||
MekanismToolsRecipes.generate();
|
||||
@@ -700,6 +700,10 @@ public class Mekanism
|
||||
//Set the mod's configuration
|
||||
configuration = new Configuration(config);
|
||||
|
||||
//Load configuration
|
||||
proxy.loadConfiguration();
|
||||
proxy.onConfigSync(false);
|
||||
|
||||
//Register tier information
|
||||
Tier.init();
|
||||
|
||||
@@ -775,10 +779,6 @@ public class Mekanism
|
||||
//Register with TransmitterNetworkRegistry
|
||||
TransmitterNetworkRegistry.initiate();
|
||||
|
||||
//Load configuration
|
||||
proxy.loadConfiguration();
|
||||
proxy.onConfigSync(false);
|
||||
|
||||
//Add baby skeleton spawner
|
||||
if(general.spawnBabySkeletons)
|
||||
{
|
||||
@@ -836,9 +836,6 @@ public class Mekanism
|
||||
|
||||
OreDictManager.init();
|
||||
|
||||
//Update the config-dependent recipes after the recipes have actually been added in the first place
|
||||
TypeConfigManager.updateConfigRecipes(MachineType.getValidMachines(), general.machinesManager);
|
||||
|
||||
logger.info("Hooking complete.");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user