mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 00:38:35 +01:00
When did I even do this fix..?
Was I sleepwalking or something?
This commit is contained in:
parent
2cd7bea732
commit
ab7de39198
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue