Fix enchants hanging around due to server crash or disconnect.

This commit is contained in:
GJ 2013-02-14 16:35:14 -05:00
parent 6cc2497182
commit 128c24c8f6

View File

@ -273,6 +273,8 @@ public class PlayerListener implements Listener {
if (plugin.isXPEventEnabled()) {
player.sendMessage(LocaleLoader.getString("XPRate.Event", Config.getInstance().getExperienceGainsGlobalMultiplier()));
}
SkillTools.handleAbilitySpeedDecrease(player); //Remove enchants left over in case of disconnect or server crash
}
/**