mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Update BlockGreenhouseGlass.java
This commit is contained in:
parent
b6d1fafa24
commit
06bb77b7dd
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ public class BlockGreenhouseGlass extends BlockBase {
|
||||||
BlockState growState = i == 0
|
BlockState growState = i == 0
|
||||||
? trip.getMiddle()
|
? trip.getMiddle()
|
||||||
: world.getBlockState(trip.getLeft());
|
: world.getBlockState(trip.getLeft());
|
||||||
if (growState.getBlock() == trip.getRight() && trip.getRight().isValidBonemealTarget(world, trip.getLeft(), growState, false)) {
|
if (growState.getBlock() == trip.getRight() && trip.getRight().isValidBonemealTarget(world, trip.getLeft(), growState)) {
|
||||||
trip.getRight().performBonemeal(world, rand, trip.getLeft(), growState);
|
trip.getRight().performBonemeal(world, rand, trip.getLeft(), growState);
|
||||||
once = true;
|
once = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue