New entity data flags

@Intyre, you are beyond awesome
This commit is contained in:
Dylan K. Taylor
2016-10-25 10:43:37 +01:00
parent 6bcb3aeb26
commit bfc77a772a
6 changed files with 29 additions and 32 deletions

View File

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