bossbar not being removed from HUD outside of mob range.
Summary
Describe the bug encountered in detail.
Steps to reproduce
Provide a full set of steps used to reproduce the bug, including links to SEPARATE Pastebin pastes for each relevant configuration file.
Current behavior when encountering a boss/mob from mythicmobs that has a bossbar, when you then move away far from the mob the bossbar remains. it also remains if you /spawn or /world, and does not dissapear when outside of the mobs range unless you relog into the server
Describe what happens currently, while the bug is affecting your server. the boss bar it always on the screen at the top unless the mob has been defeated, and the boss bar will not go away unless a player relogs which can be visually disruptive and annoying to circumvent to remove it by having to relog
Intended correct behavior when you are over a certain range of the mob the bossbar should dissapear (like the original vanilla ender dragon) when you go back to the overworld/move far away from the ender dragon, the boss bar dissapears until you enter its range again
Describe what you think should happen instead of the bug. The boss bar should dissapear when outside of the mobs range.
Server log file due to size, i can not use pastebin, so i am using mclogs. https://mclo.gs/TxJg3kD
Provide a link to a Pastebin paste with a copy of your server's latest.log file from startup to "Done!" AND includes a player connecting. https://mclo.gs/TxJg3kD
Debug log snippet
Provide a link to a Pastebin paste with an excerpt of your latest.log file that includes debug output where you trigger the bugged behavior.
this bug does not produce any console error.
Proposed fixes please fix where the bossbar is removed from the players HUD if not in the mobs range, or world swap, which is intended Minecraft behavior
Describe what you think the issue or any potential fixes may be.
No idea.