Update BlockGreenhouseGlass.java

This commit is contained in:
Mrbysco 2024-03-04 21:57:36 +01:00
parent b6d1fafa24
commit 06bb77b7dd

View file

@ -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;
} }