mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
fix tier config
config was loaded before tier.init resulting tier config not working
This commit is contained in:
1 file changed
+5
-3
@@ -1380,13 +1380,15 @@ public class Mekanism
|
||||
configurationrecipes = new Configuration(new File("config/mekanism/MekanismRecipes.cfg"));
|
||||
configurationce = new Configuration(new File("config/mekanism/MekanismCE.cfg"));
|
||||
|
||||
//Load configuration
|
||||
proxy.loadConfiguration();
|
||||
proxy.onConfigSync(false);
|
||||
|
||||
|
||||
//Register tier information
|
||||
Tier.init();
|
||||
|
||||
//Load configuration
|
||||
proxy.loadConfiguration();
|
||||
proxy.onConfigSync(false);
|
||||
|
||||
GasRegistry.register(new Gas("hydrogen")).registerFluid();
|
||||
GasRegistry.register(new Gas("oxygen")).registerFluid();
|
||||
GasRegistry.register(new Gas("water")).registerFluid();
|
||||
|
||||
Reference in new issue
Block a user