FallableTrait: add default implementation of tickFalling() to reduce Fallable pollution (#5350)

this is only used by concrete powder currently, so it doesn't make much sense to reimplement it in every implementor of Fallable.
This commit is contained in:
IvanCraft623
2022-10-18 10:56:21 -05:00
committed by GitHub
parent 9f6c6b2b71
commit d1d5020c53
6 changed files with 4 additions and 20 deletions

View File

@ -95,8 +95,4 @@ class Anvil extends Transparent implements Fallable{
}
return parent::place($tx, $item, $blockReplace, $blockClicked, $face, $clickVector, $player);
}
public function tickFalling() : ?Block{
return null;
}
}