Make Climate state creation only accessible through ClimateStates

This commit is contained in:
Nedelosk committed 2017-09-06 19:33:13 +02:00
1 parent e07f10d981
commit 4d0dfd837e
36 files changed
+331 -114

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ public class Forestry {
ForestryAPI.instance = this;
ForestryAPI.forestryConstants = new Constants();
ForestryAPI.errorStateRegistry = new ErrorStateRegistry();
ForestryAPI.states = new ClimateStates();
ForestryAPI.states = ClimateStates.INSTANCE;
EnumErrorCode.init();
FluidRegistry.enableUniversalBucket();
MinecraftForge.EVENT_BUS.register(this);