Merge branch 'stable'

This commit is contained in:
Dylan K. Taylor
2019-07-03 16:35:29 +01:00
2 changed files with 3 additions and 1 deletions

View File

@ -279,7 +279,7 @@ abstract class Entity extends Location implements EntityIds{
* @return bool
*/
public function isNameTagAlwaysVisible() : bool{
return $this->getGenericFlag(EntityMetadataFlags::ALWAYS_SHOW_NAMETAG);
return $this->propertyManager->getByte(EntityMetadataProperties::ALWAYS_SHOW_NAMETAG) === 1;
}