Small fix

This commit is contained in:
paulevsGitch 2021-07-11 23:09:03 +03:00
parent 797db9d2d4
commit eeb05a7797

View file

@ -20,8 +20,8 @@ public class PottableLeavesBlock extends BaseLeavesBlock implements PottablePlan
@Override @Override
public boolean canPlantOn(Block block) { public boolean canPlantOn(Block block) {
if (sapling instanceof PottablePlant) { if (sapling instanceof PottablePlant) {
((PottablePlant) sapling).canPlantOn(block); return ((PottablePlant) sapling).canPlantOn(block);
} }
return true; return true;
} }