mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Fixed wrong names names displaying when using /ptp
This commit is contained in:
parent
894218cac9
commit
5947ad5004
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user