mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
New entity data flags
@Intyre, you are beyond awesome
This commit is contained in:
@ -82,6 +82,6 @@ class Villager extends Creature implements NPC, Ageable{
|
||||
}
|
||||
|
||||
public function isBaby(){
|
||||
return $this->getDataFlag(self::DATA_AGEABLE_FLAGS, self::DATA_FLAG_BABY);
|
||||
return $this->getDataFlag(self::DATA_FLAGS, self::DATA_FLAG_BABY);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user