mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Make DragonEgg::teleport public (#2992)
This commit is contained in:
parent
5b02ca8a64
commit
02bbf50dbe
@ -61,7 +61,7 @@ class DragonEgg extends Transparent implements Fallable{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected function teleport() : void{
|
||||
public function teleport() : void{
|
||||
for($tries = 0; $tries < 16; ++$tries){
|
||||
$block = $this->world->getBlockAt(
|
||||
$this->x + mt_rand(-16, 16),
|
||||
|
Loading…
x
Reference in New Issue
Block a user