Small fix
This commit is contained in:
parent
797db9d2d4
commit
eeb05a7797
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ public class PottableLeavesBlock extends BaseLeavesBlock implements PottablePlan
|
|||
|
||||
@Override
|
||||
public boolean canPlantOn(Block block) {
|
||||
if (sapling instanceof PottablePlant) {
|
||||
((PottablePlant) sapling).canPlantOn(block);
|
||||
if (sapling instanceof PottablePlant) {
|
||||
return ((PottablePlant) sapling).canPlantOn(block);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue