This commit is contained in:
Shadows_of_Fire 2018-10-16 19:41:40 -04:00
parent f24c0b7705
commit e9cbf2dd85

View file

@ -81,7 +81,7 @@ public class BlockGreenhouseGlass extends BlockBase {
boolean once = false;
if (trip != null) for (int i = 0; i < 3; i++) {
IBlockState growState = i == 0 ? trip.getMiddle() : world.getBlockState(trip.getLeft());
if (trip.getRight().canGrow(world, trip.getLeft(), growState, false)) {
if (growState.getBlock() == trip.getRight() && trip.getRight().canGrow(world, trip.getLeft(), growState, false)) {
trip.getRight().grow(world, rand, trip.getLeft(), growState);
once = true;
}