mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Closes #1191
This commit is contained in:
parent
f24c0b7705
commit
e9cbf2dd85
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ public class BlockGreenhouseGlass extends BlockBase {
|
||||||
boolean once = false;
|
boolean once = false;
|
||||||
if (trip != null) for (int i = 0; i < 3; i++) {
|
if (trip != null) for (int i = 0; i < 3; i++) {
|
||||||
IBlockState growState = i == 0 ? trip.getMiddle() : world.getBlockState(trip.getLeft());
|
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);
|
trip.getRight().grow(world, rand, trip.getLeft(), growState);
|
||||||
once = true;
|
once = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue