Fixed Berserk getting "stuck" when /mcrefresh is used.

This commit is contained in:
GJ 2013-04-02 17:38:33 -04:00
parent c4aa9396fd
commit 802ad84613
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ Version 1.4.05-dev
= Fixed bug which caused a NPE when trying to use /mctop smelting = Fixed bug which caused a NPE when trying to use /mctop smelting
= Fixed Berserk misbehaving when /reload was used = Fixed Berserk misbehaving when /reload was used
= Fixed parties misbehaving when /reload was used = Fixed parties misbehaving when /reload was used
= Fixed Berserk getting "stuck" when /mcrefresh was used
Version 1.4.04 Version 1.4.04
+ Added functions to ExperienceAPI for use with offline players + Added functions to ExperienceAPI for use with offline players

View File

@ -67,6 +67,7 @@ public class McrefreshCommand implements CommandExecutor {
mcMMOPlayer.resetToolPrepMode(); mcMMOPlayer.resetToolPrepMode();
mcMMOPlayer.resetAbilityMode(); mcMMOPlayer.resetAbilityMode();
player.setCanPickupItems(true);
player = mcMMOPlayer.getPlayer(); player = mcMMOPlayer.getPlayer();
player.sendMessage(LocaleLoader.getString("Ability.Generic.Refresh")); player.sendMessage(LocaleLoader.getString("Ability.Generic.Refresh"));
} }