diff options
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandsethome.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandsethome.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java b/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java index 434816254..15f10e786 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java @@ -1,6 +1,6 @@ package com.earth2me.essentials.commands; -import static com.earth2me.essentials.I18n._; +import static com.earth2me.essentials.I18n.tl; import com.earth2me.essentials.User; import com.earth2me.essentials.utils.NumberUtil; import java.util.Locale; @@ -54,10 +54,10 @@ public class Commandsethome extends EssentialsCommand } if ("bed".equals(name) || NumberUtil.isInt(name)) { - throw new NoSuchFieldException(_("invalidHomeName")); + throw new NoSuchFieldException(tl("invalidHomeName")); } usersHome.setHome(name, location); - user.sendMessage(_("homeSet", user.getLocation().getWorld().getName(), user.getLocation().getBlockX(), user.getLocation().getBlockY(), user.getLocation().getBlockZ(), name)); + user.sendMessage(tl("homeSet", user.getLocation().getWorld().getName(), user.getLocation().getBlockX(), user.getLocation().getBlockY(), user.getLocation().getBlockZ(), name)); } @@ -72,7 +72,7 @@ public class Commandsethome extends EssentialsCommand } if (usersHome.getHomes().size() >= limit) { - throw new Exception(_("maxHomes", ess.getSettings().getHomeLimit(user))); + throw new Exception(tl("maxHomes", ess.getSettings().getHomeLimit(user))); } if (limit == 1) { |