diff options
Diffstat (limited to 'src/Mobs/EnderDragon.cpp')
-rw-r--r-- | src/Mobs/EnderDragon.cpp | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/src/Mobs/EnderDragon.cpp b/src/Mobs/EnderDragon.cpp index 30b3ed0fb..bfd2c9f16 100644 --- a/src/Mobs/EnderDragon.cpp +++ b/src/Mobs/EnderDragon.cpp @@ -10,7 +10,15 @@ cEnderDragon::cEnderDragon(void) : - Super("EnderDragon", mtEnderDragon, "entity.enderdragon.hurt", "entity.enderdragon.death", "entity.enderdragon.ambient", 16, 8) + Super( + "EnderDragon", + mtEnderDragon, + "entity.enderdragon.hurt", + "entity.enderdragon.death", + "entity.enderdragon.ambient", + 16, + 8 + ) { } @@ -47,5 +55,14 @@ void cEnderDragon::SpawnOn(cClientHandle & a_Client) Super::SpawnOn(a_Client); // Red boss bar with no divisions that plays boss music and creates fog: - a_Client.SendBossBarAdd(GetUniqueID(), cCompositeChat("Ender Dragon"), GetHealth() / GetMaxHealth(), BossBarColor::Red, BossBarDivisionType::None, false, true, true); + a_Client.SendBossBarAdd( + GetUniqueID(), + cCompositeChat("Ender Dragon"), + GetHealth() / GetMaxHealth(), + BossBarColor::Red, + BossBarDivisionType::None, + false, + true, + true + ); } |