From 0aed7f86f5cb313db3b149b9210341d883d6f4ac Mon Sep 17 00:00:00 2001 From: Stephen Date: Sun, 20 Oct 2019 14:23:07 -0400 Subject: [PATCH] Updated BossEventPacket comments (#3155) * Updated BossBar comments * Fixed comments --- src/pocketmine/network/mcpe/protocol/BossEventPacket.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pocketmine/network/mcpe/protocol/BossEventPacket.php b/src/pocketmine/network/mcpe/protocol/BossEventPacket.php index 30d07d658..f23c7020b 100644 --- a/src/pocketmine/network/mcpe/protocol/BossEventPacket.php +++ b/src/pocketmine/network/mcpe/protocol/BossEventPacket.php @@ -39,9 +39,9 @@ class BossEventPacket extends DataPacket{ public const TYPE_HIDE = 2; /* C2S: Unregisters a player from a boss fight. */ public const TYPE_UNREGISTER_PLAYER = 3; - /* S2C: Appears not to be implemented. Currently bar percentage only appears to change in response to the target entity's health. */ + /* S2C: Sets the bar percentage. */ public const TYPE_HEALTH_PERCENT = 4; - /* S2C: Also appears to not be implemented. Title client-side sticks as the target entity's nametag, or their entity type name if not set. */ + /* S2C: Sets title of the bar. */ public const TYPE_TITLE = 5; /* S2C: Not sure on this. Includes color and overlay fields, plus an unknown short. TODO: check this */ public const TYPE_UNKNOWN_6 = 6;