Make DragonEgg::teleport public (#2992)

This commit is contained in:
Luke 2019-07-03 15:04:17 +01:00 committed by Dylan T
parent 5b02ca8a64
commit 02bbf50dbe

View File

@ -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),