diff options
author | snowleo <schneeleo@gmail.com> | 2011-11-21 02:55:26 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-11-21 02:55:26 +0100 |
commit | e3fa24375342bdf58494c26cc125acb7d621cc87 (patch) | |
tree | 457ec062b09eb5c6aec08111e76e7991c61efb1a /Essentials/src/com/earth2me/essentials/commands/Commandunban.java | |
parent | 0d0eb1e8bd50d0ed8cbb0a496fa8c6a349e88635 (diff) | |
download | Essentials-e3fa24375342bdf58494c26cc125acb7d621cc87.tar Essentials-e3fa24375342bdf58494c26cc125acb7d621cc87.tar.gz Essentials-e3fa24375342bdf58494c26cc125acb7d621cc87.tar.lz Essentials-e3fa24375342bdf58494c26cc125acb7d621cc87.tar.xz Essentials-e3fa24375342bdf58494c26cc125acb7d621cc87.zip |
Switch to the new I18n class and format cleanup of all classes
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandunban.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandunban.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandunban.java b/Essentials/src/com/earth2me/essentials/commands/Commandunban.java index ac6818c80..8bc3ad068 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandunban.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandunban.java @@ -1,7 +1,7 @@ package com.earth2me.essentials.commands; +import static com.earth2me.essentials.I18n._; import com.earth2me.essentials.User; -import com.earth2me.essentials.Util; import org.bukkit.Server; import org.bukkit.command.CommandSender; @@ -25,11 +25,11 @@ public class Commandunban extends EssentialsCommand { final User player = getPlayer(server, args, 0, true); player.setBanned(false); - sender.sendMessage(Util.i18n("unbannedPlayer")); + sender.sendMessage(_("unbannedPlayer")); } catch (NoSuchFieldException e) { - throw new Exception(Util.i18n("playerNotFound")); + throw new Exception(_("playerNotFound")); } } } |