diff options
author | drtshock <thensler@wisc.edu> | 2013-09-23 19:18:11 -0500 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2013-09-24 09:38:30 +0100 |
commit | e853199d90f9a9b12fedfc9065fe3505fffe9248 (patch) | |
tree | a44f44919531a1fe221fec5c9440702a2aee46bd | |
parent | f7f7c2a68bb037c63dff403dac32da3c40b6076f (diff) | |
download | Essentials-e853199d90f9a9b12fedfc9065fe3505fffe9248.tar Essentials-e853199d90f9a9b12fedfc9065fe3505fffe9248.tar.gz Essentials-e853199d90f9a9b12fedfc9065fe3505fffe9248.tar.lz Essentials-e853199d90f9a9b12fedfc9065fe3505fffe9248.tar.xz Essentials-e853199d90f9a9b12fedfc9065fe3505fffe9248.zip |
Format to the format with the formatter.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandignore.java | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandignore.java b/Essentials/src/com/earth2me/essentials/commands/Commandignore.java index 39761e3f8..e64c53606 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandignore.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandignore.java @@ -28,28 +28,28 @@ public class Commandignore extends EssentialsCommand else { User player; - try - { - player = getPlayer(server, args, 0, true, true); - } - catch (NoSuchFieldException ex) - { - player = ess.getOfflineUser(args[0]); - } - if (player == null) - { - throw new PlayerNotFoundException(); - } - if (user.isIgnoredPlayer(player)) - { - user.setIgnoredPlayer(player, false); - user.sendMessage(_("unignorePlayer", player.getName())); - } - else - { - user.setIgnoredPlayer(player, true); - user.sendMessage(_("ignorePlayer", player.getName())); - } + try + { + player = getPlayer(server, args, 0, true, true); + } + catch (NoSuchFieldException ex) + { + player = ess.getOfflineUser(args[0]); + } + if (player == null) + { + throw new PlayerNotFoundException(); + } + if (user.isIgnoredPlayer(player)) + { + user.setIgnoredPlayer(player, false); + user.sendMessage(_("unignorePlayer", player.getName())); + } + else + { + user.setIgnoredPlayer(player, true); + user.sendMessage(_("ignorePlayer", player.getName())); + } } } } |