diff --git a/src/main/java/ellpeck/actuallyadditions/tile/TileEntityGreenhouseGlass.java b/src/main/java/ellpeck/actuallyadditions/tile/TileEntityGreenhouseGlass.java index 768399e66..c786fd933 100644 --- a/src/main/java/ellpeck/actuallyadditions/tile/TileEntityGreenhouseGlass.java +++ b/src/main/java/ellpeck/actuallyadditions/tile/TileEntityGreenhouseGlass.java @@ -31,7 +31,7 @@ public class TileEntityGreenhouseGlass extends TileEntityBase{ this.timeUntilNextFert--; if(timeUntilNextFert <= 0){ WorldPos blockToFert = this.blockToFertilize(); - if(this.blockToFertilize() != null){ + if(blockToFert != null){ int metaBefore = blockToFert.getMetadata(); worldObj.getBlock(blockToFert.getX(), blockToFert.getY(), blockToFert.getZ()).updateTick(worldObj, blockToFert.getX(), blockToFert.getY(), blockToFert.getZ(), Util.RANDOM);