mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Visibility keyword before final or abstract keyword. (#814)
This commit is contained in:
@ -1092,7 +1092,7 @@ abstract class Entity extends Location implements Metadatable{
|
||||
//return !($this instanceof Player);
|
||||
}
|
||||
|
||||
public final function scheduleUpdate(){
|
||||
final public function scheduleUpdate(){
|
||||
$this->level->updateEntities[$this->id] = $this;
|
||||
}
|
||||
|
||||
|
@ -86,7 +86,7 @@ abstract class Living extends Entity implements Damageable{
|
||||
$this->namedtag->Health = new ShortTag("Health", $this->getHealth());
|
||||
}
|
||||
|
||||
public abstract function getName();
|
||||
abstract public function getName();
|
||||
|
||||
public function hasLineOfSight(Entity $entity){
|
||||
//TODO: head height
|
||||
|
Reference in New Issue
Block a user