mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-21 19:01:37 +00:00
Merge branch 'release/3.2'
This commit is contained in:
commit
14f144b6f6
@ -604,6 +604,20 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
|
|||||||
$this->propertyManager->setByte(self::DATA_ALWAYS_SHOW_NAMETAG, $value ? 1 : 0);
|
$this->propertyManager->setByte(self::DATA_ALWAYS_SHOW_NAMETAG, $value ? 1 : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string|null
|
||||||
|
*/
|
||||||
|
public function getScoreTag() : ?string{
|
||||||
|
return $this->propertyManager->getString(self::DATA_SCORE_TAG);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $score
|
||||||
|
*/
|
||||||
|
public function setScoreTag(string $score) : void{
|
||||||
|
$this->propertyManager->setString(self::DATA_SCORE_TAG, $score);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return float
|
* @return float
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user