summaryrefslogtreecommitdiffstats
path: root/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java
diff options
context:
space:
mode:
authorFearFree <fearfree@cubetown.net>2014-03-20 10:54:07 -0500
committerChris Ward <chris@chrisgward.com>2014-03-22 16:08:11 +1100
commit51bd0d88f393dbd675d2227e84d24fe9d6313712 (patch)
tree3f1b11f2eed0ed31c63e7a82cb666c3082f2df95 /EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java
parent726690817781c43b2bdeaf9212cc7c7d23c2c8ff (diff)
downloadEssentials-51bd0d88f393dbd675d2227e84d24fe9d6313712.tar
Essentials-51bd0d88f393dbd675d2227e84d24fe9d6313712.tar.gz
Essentials-51bd0d88f393dbd675d2227e84d24fe9d6313712.tar.lz
Essentials-51bd0d88f393dbd675d2227e84d24fe9d6313712.tar.xz
Essentials-51bd0d88f393dbd675d2227e84d24fe9d6313712.zip
Future Java versions may not support _ as identifier.
Diffstat (limited to 'EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java')
-rw-r--r--EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java b/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java
index cccce4284..34a4eb6bd 100644
--- a/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java
+++ b/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java
@@ -1,7 +1,7 @@
package com.earth2me.essentials.spawn;
import com.earth2me.essentials.CommandSource;
-import static com.earth2me.essentials.I18n._;
+import static com.earth2me.essentials.I18n.tl;
import com.earth2me.essentials.Console;
import com.earth2me.essentials.Trade;
import com.earth2me.essentials.User;
@@ -31,7 +31,7 @@ public class Commandspawn extends EssentialsCommand
respawn(user.getSource(), user, otherUser, charge);
if (!otherUser.equals(user))
{
- otherUser.sendMessage(_("teleportAtoB", user.getDisplayName(), "spawn"));
+ otherUser.sendMessage(tl("teleportAtoB", user.getDisplayName(), "spawn"));
}
}
else
@@ -50,7 +50,7 @@ public class Commandspawn extends EssentialsCommand
}
final User user = getPlayer(server, args, 0, true, false);
respawn(sender, null, user, null);
- user.sendMessage(_("teleportAtoB", Console.NAME, "spawn"));
+ user.sendMessage(tl("teleportAtoB", Console.NAME, "spawn"));
}
@@ -58,7 +58,7 @@ public class Commandspawn extends EssentialsCommand
{
final SpawnStorage spawns = (SpawnStorage)this.module;
final Location spawn = spawns.getSpawn(teleportee.getGroup());
- sender.sendMessage(_("teleporting", spawn.getWorld().getName(), spawn.getBlockX(), spawn.getBlockY(), spawn.getBlockZ()));
+ sender.sendMessage(tl("teleporting", spawn.getWorld().getName(), spawn.getBlockX(), spawn.getBlockY(), spawn.getBlockZ()));
if (teleportOwner == null)
{
teleportee.getTeleport().now(spawn, false, TeleportCause.COMMAND);