Some fixes
This commit is contained in:
parent
47ba04c177
commit
d97d4e3953
3 changed files with 7 additions and 16 deletions
|
@ -37,7 +37,6 @@ public class BoneMealItemMixin {
|
|||
if (!world.isClient) {
|
||||
BlockPos offseted = blockPos.offset(context.getSide());
|
||||
boolean endBiome = world.getBiome(offseted).getCategory() == Category.THEEND;
|
||||
//boolean skip = false;
|
||||
|
||||
if (world.getBlockState(blockPos).isIn(EndTags.END_GROUND)) {
|
||||
boolean consume = false;
|
||||
|
@ -53,9 +52,6 @@ public class BoneMealItemMixin {
|
|||
if (world.getBlockState(offseted).equals(Blocks.WATER)) {
|
||||
consume = beGrowWaterGrass(world, blockPos);
|
||||
}
|
||||
/*else {
|
||||
skip = true;
|
||||
}*/
|
||||
}
|
||||
else {
|
||||
consume = beGrowGrass(world, blockPos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue