diff --git a/src/main/java/forestry/greenhouse/GreenhouseState.java b/src/main/java/forestry/greenhouse/GreenhouseState.java index 3d059500a..85c889766 100644 --- a/src/main/java/forestry/greenhouse/GreenhouseState.java +++ b/src/main/java/forestry/greenhouse/GreenhouseState.java @@ -13,8 +13,6 @@ package forestry.greenhouse; import java.util.Collection; import java.util.List; -import net.minecraft.world.World; - import forestry.api.core.EnumHumidity; import forestry.api.core.EnumTemperature; import forestry.api.greenhouse.IGreenhouseState; @@ -26,12 +24,10 @@ public final class GreenhouseState implements IGreenhouseState { private final float humidity; private final float temperature; - private final World world; private final List internalBlocks; private final Collection greenhouseComponents; - public GreenhouseState(World world, float humidity, float temperature, List internalBlocks, Collection greenhouseComponents) { - this.world = world; + public GreenhouseState(float humidity, float temperature, List internalBlocks, Collection greenhouseComponents) { this.humidity = humidity; this.temperature = temperature; this.internalBlocks = internalBlocks; @@ -39,7 +35,7 @@ public final class GreenhouseState implements IGreenhouseState { } public GreenhouseState(GreenhouseController controller) { - this(controller.getWorldObj(), controller.getExactHumidity(), controller.getExactTemperature(), controller.getInternalBlocks(), controller.getComponents()); + this(controller.getExactHumidity(), controller.getExactTemperature(), controller.getInternalBlocks(), controller.getComponents()); } @Override