Update BoneMealItemMixin.java
This commit is contained in:
parent
4df9141d3d
commit
acfe5eade7
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ public class BoneMealItemMixin {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (!world.getFluidState(offseted).isEmpty() && endBiome) {
|
if (!world.getFluidState(offseted).isEmpty() && endBiome) {
|
||||||
if (world.getBlockState(offseted).equals(Blocks.WATER)) {
|
if (world.getBlockState(offseted).getBlock().equals(Blocks.WATER)) {
|
||||||
consume = beGrowWaterGrass(world, blockPos);
|
consume = beGrowWaterGrass(world, blockPos);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,7 @@ public class BoneMealItemMixin {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!world.getFluidState(offseted).isEmpty() && endBiome) {
|
else if (!world.getFluidState(offseted).isEmpty() && endBiome) {
|
||||||
if (world.getBlockState(offseted).equals(Blocks.WATER)) {
|
if (world.getBlockState(offseted).getBlock().equals(Blocks.WATER)) {
|
||||||
info.setReturnValue(ActionResult.FAIL);
|
info.setReturnValue(ActionResult.FAIL);
|
||||||
info.cancel();
|
info.cancel();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue