mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Block: rename onEntityCollide() -> onEntityInside()
this better describes what the hook is for.
This commit is contained in:
@ -55,7 +55,7 @@ class Cobweb extends Flowable{
|
||||
return 1;
|
||||
}
|
||||
|
||||
public function onEntityCollide(Entity $entity) : void{
|
||||
public function onEntityInside(Entity $entity) : void{
|
||||
$entity->resetFallDistance();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user