diff --git a/src/de/craftinc/gates/commands/CommandHide.java b/src/de/craftinc/gates/commands/CommandHide.java index d4c1818..5eea78d 100644 --- a/src/de/craftinc/gates/commands/CommandHide.java +++ b/src/de/craftinc/gates/commands/CommandHide.java @@ -45,14 +45,12 @@ public class CommandHide extends BaseCommand public void perform() { - try - { + try { gate.setHidden(true); GateBlockChangeSender.updateGateBlocks(gate); sendMessage(ChatColor.GREEN + "The gate '" + gate.getId() + "' is now hidden."); } - catch (Exception e) - { + catch (Exception e) { sendMessage(ChatColor.RED + "Hiding the gate failed! See server log for more information"); Plugin.log(Level.WARNING, e.getMessage()); e.printStackTrace(); diff --git a/src/de/craftinc/gates/commands/CommandUnhide.java b/src/de/craftinc/gates/commands/CommandUnhide.java index 4485e22..aaad6f6 100644 --- a/src/de/craftinc/gates/commands/CommandUnhide.java +++ b/src/de/craftinc/gates/commands/CommandUnhide.java @@ -53,8 +53,6 @@ public class CommandUnhide extends BaseCommand catch (Exception e) { sendMessage(ChatColor.RED + e.getMessage()); } - - } } \ No newline at end of file