summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/commands/Commandtphere.java
diff options
context:
space:
mode:
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandtphere.java')
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandtphere.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtphere.java b/Essentials/src/com/earth2me/essentials/commands/Commandtphere.java
index 121e06c2a..ecfb6b6a6 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandtphere.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandtphere.java
@@ -1,8 +1,8 @@
package com.earth2me.essentials.commands;
+import static com.earth2me.essentials.I18n._;
import com.earth2me.essentials.Trade;
import com.earth2me.essentials.User;
-import com.earth2me.essentials.Util;
import org.bukkit.Server;
@@ -19,11 +19,11 @@ public class Commandtphere extends EssentialsCommand
final User player = getPlayer(server, args, 0);
if (!player.isTeleportEnabled())
{
- throw new Exception(Util.format("teleportDisabled", player.getDisplayName()));
+ throw new Exception(_("teleportDisabled", player.getDisplayName()));
}
player.getTeleport().teleport(user, new Trade(this.getName(), ess));
- user.sendMessage(Util.i18n("teleporting"));
- player.sendMessage(Util.i18n("teleporting"));
+ user.sendMessage(_("teleporting"));
+ player.sendMessage(_("teleporting"));
throw new NoChargeException();
}
}