Small fix

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

View file

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