Fixed wrong names names displaying when using /ptp

This commit is contained in:
TfT_02 2013-02-15 13:51:43 +01:00
parent 894218cac9
commit 5947ad5004

View File

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