diff options
| author | hannibal00212 <hannibal00212@users.noreply.github.com> | 2022-07-15 17:41:41 +0000 |
|---|---|---|
| committer | GitHub Action <actions@github.com> | 2022-07-15 17:41:41 +0000 |
| commit | a85403cfd16da0134fbe6fb31a37761657e1119a (patch) | |
| tree | 97a9d37c30b5576fba1e12ec4169a1b88d4adccb /src/main/java/at/hannibal2/skyhanni/config/commands | |
| parent | 8918d129525ace873e98840d9d4499e35c92dffe (diff) | |
| download | skyhanni-a85403cfd16da0134fbe6fb31a37761657e1119a.tar.gz skyhanni-a85403cfd16da0134fbe6fb31a37761657e1119a.tar.bz2 skyhanni-a85403cfd16da0134fbe6fb31a37761657e1119a.zip | |
Prettified Code!
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/commands')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/commands/Commands.java | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.java b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.java index 8f3b798f1..c2b60515f 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.java +++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.java @@ -23,16 +23,26 @@ public class Commands { ClientCommandHandler.instance.registerCommand(new SimpleCommand("sh", mainMenu)); ClientCommandHandler.instance.registerCommand(new SimpleCommand("skyhanni", mainMenu)); - ClientCommandHandler.instance.registerCommand(new SimpleCommand("shreloadlocalrepo", new SimpleCommand.ProcessCommandRunnable() { - public void processCommand(ICommandSender sender, String[] args) { - SkyHanniMod.repo.reloadLocalRepo(); - } - })); + ClientCommandHandler.instance.registerCommand( + new SimpleCommand( + "shreloadlocalrepo", + new SimpleCommand.ProcessCommandRunnable() { + public void processCommand(ICommandSender sender, String[] args) { + SkyHanniMod.repo.reloadLocalRepo(); + } + } + ) + ); - ClientCommandHandler.instance.registerCommand(new SimpleCommand("shupdaterepo", new SimpleCommand.ProcessCommandRunnable() { - public void processCommand(ICommandSender sender, String[] args) { - SkyHanniMod.repo.updateRepo(); - } - })); + ClientCommandHandler.instance.registerCommand( + new SimpleCommand( + "shupdaterepo", + new SimpleCommand.ProcessCommandRunnable() { + public void processCommand(ICommandSender sender, String[] args) { + SkyHanniMod.repo.updateRepo(); + } + } + ) + ); } } |
