Some fixes

This commit is contained in:
paulevsGitch 2020-12-27 19:20:31 +03:00
parent 47ba04c177
commit d97d4e3953
3 changed files with 7 additions and 16 deletions

View file

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