diff options
author | Kaloyan Draganov <kaloyan@draganov.com> | 2020-12-21 08:15:26 -0500 |
---|---|---|
committer | Kaloyan Draganov <kaloyan@draganov.com> | 2020-12-21 08:15:26 -0500 |
commit | 98acb1f3394ae0529acb3325ea8535bad238b4bc (patch) | |
tree | c675f7e21395141d36df597977a248a8a6c2e722 | |
parent | 1b24fe5548a52a9416efc91284ffb4256c6c5610 (diff) | |
download | SkyblockMod-98acb1f3394ae0529acb3325ea8535bad238b4bc.tar.gz SkyblockMod-98acb1f3394ae0529acb3325ea8535bad238b4bc.tar.bz2 SkyblockMod-98acb1f3394ae0529acb3325ea8535bad238b4bc.zip |
Fix trashy formatting
-rw-r--r-- | src/main/java/me/Danker/commands/RepartyCommand.java | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/main/java/me/Danker/commands/RepartyCommand.java b/src/main/java/me/Danker/commands/RepartyCommand.java index 3ade5e9..7835d1f 100644 --- a/src/main/java/me/Danker/commands/RepartyCommand.java +++ b/src/main/java/me/Danker/commands/RepartyCommand.java @@ -27,19 +27,24 @@ public class RepartyCommand extends CommandBase implements ICommand { public static double callTime = 0; @Override - public String getCommandName() { return "reparty"; } + public String getCommandName() { + return "reparty"; + } @Override - public String getCommandUsage(ICommandSender sender) { return "/" + getCommandName(); } + public String getCommandUsage(ICommandSender sender) { + return "/" + getCommandName(); + } @Override - public int getRequiredPermissionLevel() { return 0; } + public int getRequiredPermissionLevel() { + return 0; + } @Override public void processCommand(ICommandSender sender, String[] args) throws CommandException { // MULTI THREAD DRIFTING new Thread(() -> { - final EntityPlayer player_unused = (EntityPlayer) sender; EntityPlayerSP player = Minecraft.getMinecraft().thePlayer; callTime = System.currentTimeMillis() / 1000; @@ -69,8 +74,7 @@ public class RepartyCommand extends CommandBase implements ICommand { } DankersSkyblockMod.partyList.clear(); - } - catch (InterruptedException e) { + } catch (InterruptedException e) { e.printStackTrace(); } }).start(); |