Solved Remove a bossbar from a player

Discussion in 'Spigot Plugin Development' started by Pannkaka, Apr 18, 2017.

Thread Status:
Not open for further replies.
  1. Hello!

    I created a bossbar with the bossbar API inside Spigot and i accidentally reloaded the plugin without removing the player from the bossbar so the player is not stuck with that bossbar, any idea of how i can remove it?
    EDIT: I know it gets removed when the player relogs but that will not work in this case, i need to be able to remove it if the server gets reloaded.
     
  2. Choco

    Moderator

    #onDisable(), remove all players from their boss bars
     
  3. Yeah, i was able to figure it out 2 minutes after I made this post lol. Thanks anyway!
     
Thread Status:
Not open for further replies.