Fixed bug where the PTP cooldown was set improperly.

This commit is contained in:
GJ
2013-03-02 21:48:44 -05:00
parent 0d2b87834c
commit 31fff0623d
3 changed files with 5 additions and 4 deletions

View File

@ -213,7 +213,7 @@ public class PtpCommand implements CommandExecutor {
player.teleport(target);
player.sendMessage(LocaleLoader.getString("Party.Teleport.Player", target.getName()));
target.sendMessage(LocaleLoader.getString("Party.Teleport.Target", player.getName()));
mcMMOPlayer.getProfile().setRecentlyHurt(System.currentTimeMillis());
mcMMOPlayer.getProfile().actualizeRecentlyHurt();
return true;
}
}