diff options
author | Necrodoom <doomed.war@gmail.com> | 2013-03-19 22:24:50 +0200 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2013-03-19 20:59:02 +0000 |
commit | 8ed7022bf42b135ac7b06b8fc66cd0316a6b2547 (patch) | |
tree | 7658d28d46efc14e370c24814216bb05e5158d38 /EssentialsSpawn | |
parent | 9a350c5150d0dd2d081c5d81d265cad2bfb50c1c (diff) | |
download | Essentials-8ed7022bf42b135ac7b06b8fc66cd0316a6b2547.tar Essentials-8ed7022bf42b135ac7b06b8fc66cd0316a6b2547.tar.gz Essentials-8ed7022bf42b135ac7b06b8fc66cd0316a6b2547.tar.lz Essentials-8ed7022bf42b135ac7b06b8fc66cd0316a6b2547.tar.xz Essentials-8ed7022bf42b135ac7b06b8fc66cd0316a6b2547.zip |
[Fix] Print correct sender name on /spawn player from console.
Diffstat (limited to 'EssentialsSpawn')
-rw-r--r-- | EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java b/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java index 31882cc4a..be34d39bd 100644 --- a/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java +++ b/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java @@ -1,6 +1,7 @@ package com.earth2me.essentials.spawn; import static com.earth2me.essentials.I18n._; +import com.earth2me.essentials.Console; import com.earth2me.essentials.Trade; import com.earth2me.essentials.User; import com.earth2me.essentials.commands.EssentialsCommand; @@ -50,7 +51,7 @@ public class Commandspawn extends EssentialsCommand } final User user = getPlayer(server, args, 0); respawn(user, null); - user.sendMessage(_("teleportAtoB", user.getDisplayName(), "spawn")); + user.sendMessage(_("teleportAtoB", Console.NAME, "spawn")); sender.sendMessage(_("teleporting")); } |