mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-21 02:41:17 +00:00
Merge branch 'stable'
This commit is contained in:
commit
e07523056d
@ -279,7 +279,7 @@ abstract class Entity extends Location implements EntityIds{
|
|||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function isNameTagAlwaysVisible() : bool{
|
public function isNameTagAlwaysVisible() : bool{
|
||||||
return $this->getGenericFlag(EntityMetadataFlags::ALWAYS_SHOW_NAMETAG);
|
return $this->propertyManager->getByte(EntityMetadataProperties::ALWAYS_SHOW_NAMETAG) === 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -35,6 +35,8 @@ class AnimatePacket extends DataPacket implements ClientboundPacket, Serverbound
|
|||||||
|
|
||||||
public const ACTION_STOP_SLEEP = 3;
|
public const ACTION_STOP_SLEEP = 3;
|
||||||
public const ACTION_CRITICAL_HIT = 4;
|
public const ACTION_CRITICAL_HIT = 4;
|
||||||
|
public const ACTION_ROW_RIGHT = 128;
|
||||||
|
public const ACTION_ROW_LEFT = 129;
|
||||||
|
|
||||||
/** @var int */
|
/** @var int */
|
||||||
public $action;
|
public $action;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user