diff options
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandtpohere.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandtpohere.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtpohere.java b/Essentials/src/com/earth2me/essentials/commands/Commandtpohere.java index 2e58ae3a0..0a6bc5180 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandtpohere.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandtpohere.java @@ -1,8 +1,8 @@ package com.earth2me.essentials.commands; +import static com.earth2me.essentials.I18n._; import com.earth2me.essentials.OfflinePlayer; import com.earth2me.essentials.User; -import com.earth2me.essentials.Util; import org.bukkit.Server; @@ -27,18 +27,18 @@ public class Commandtpohere extends EssentialsCommand // Check if user is offline if (player.getBase() instanceof OfflinePlayer) { - throw new NoSuchFieldException(Util.i18n("playerNotFound")); + throw new NoSuchFieldException(_("playerNotFound")); } // Verify permission if (!player.isHidden() || user.isAuthorized("essentials.teleport.hidden")) { player.getTeleport().now(user, false); - user.sendMessage(Util.i18n("teleporting")); + user.sendMessage(_("teleporting")); } else { - throw new NoSuchFieldException(Util.i18n("playerNotFound")); + throw new NoSuchFieldException(_("playerNotFound")); } } } |