mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 19:50:37 +00:00
Added to player quit event to clean up any multi abilities the player
had active.
This commit is contained in:
parent
4842970973
commit
bb6c333323
1 changed files with 1441 additions and 1439 deletions
|
@ -390,6 +390,8 @@ public class PKListener implements Listener {
|
|||
GeneralMethods.toggedOut.add(player.getUniqueId());
|
||||
}
|
||||
|
||||
MultiAbilityManager.remove(player);
|
||||
|
||||
if (Commands.invincible.contains(event.getPlayer().getName())) {
|
||||
Commands.invincible.remove(event.getPlayer().getName());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue