Entity->entityBaseTick() is now protected

This commit is contained in:
Dylan K. Taylor
2019-02-03 14:20:06 +00:00
parent acd0a8f2d4
commit c872b120d0
9 changed files with 9 additions and 9 deletions

View File

@ -689,7 +689,7 @@ class Human extends Creature implements ProjectileSource, InventoryHolder{
$this->attributeMap->addAttribute(Attribute::getAttribute(Attribute::EXPERIENCE));
}
public function entityBaseTick(int $tickDiff = 1) : bool{
protected function entityBaseTick(int $tickDiff = 1) : bool{
$hasUpdate = parent::entityBaseTick($tickDiff);
$this->doFoodTick($tickDiff);