mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Human: change doFoodTick() visibility to protected
This commit is contained in:
@ -629,7 +629,7 @@ class Human extends Creature implements ProjectileSource, InventoryHolder{
|
||||
return $hasUpdate;
|
||||
}
|
||||
|
||||
public function doFoodTick(int $tickDiff = 1) : void{
|
||||
protected function doFoodTick(int $tickDiff = 1) : void{
|
||||
if($this->isAlive()){
|
||||
$food = $this->getFood();
|
||||
$health = $this->getHealth();
|
||||
|
Reference in New Issue
Block a user