Disable all abilities when a player quits

Fixes #1295
This commit is contained in:
TfT_02 2013-07-22 11:25:56 +02:00
parent 435eb7f8b9
commit be7992d541

View File

@ -260,6 +260,8 @@ public class PlayerListener implements Listener {
return;
}
UserManager.getPlayer(player).resetAbilityMode();
/* GARBAGE COLLECTION */
BleedTimerTask.bleedOut(player); // Bleed it out
UserManager.getPlayer(player).getProfile().save();