Block: rename onEntityCollide() -> onEntityInside()

this better describes what the hook is for.
This commit is contained in:
Dylan K. Taylor
2019-01-20 18:09:47 +00:00
parent d586a18a16
commit 425ad6101f
11 changed files with 14 additions and 11 deletions

View File

@ -93,7 +93,7 @@ class Vine extends Flowable{
return true;
}
public function onEntityCollide(Entity $entity) : void{
public function onEntityInside(Entity $entity) : void{
$entity->resetFallDistance();
}