Visibility keyword before final or abstract keyword. (#814)

This commit is contained in:
Sandertv
2017-04-13 14:58:53 +02:00
committed by SOFe
parent 80292c6c7a
commit 1c7773c5f1
17 changed files with 37 additions and 37 deletions

View File

@ -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;
}

View File

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