From 616200f20ffd140785cfafdc7b88451906bb938d Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Wed, 4 Nov 2015 15:48:33 -0500 Subject: [PATCH] Fix compile --- .../gmail/nossr50/commands/experience/SkillresetCommand.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/commands/experience/SkillresetCommand.java b/src/main/java/com/gmail/nossr50/commands/experience/SkillresetCommand.java index 783fa7563..db705fa1a 100644 --- a/src/main/java/com/gmail/nossr50/commands/experience/SkillresetCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/experience/SkillresetCommand.java @@ -30,6 +30,7 @@ import com.google.common.collect.ImmutableList; public class SkillresetCommand implements TabExecutor { @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { + SkillType skill; switch (args.length) { case 1: if (CommandUtils.noConsoleUsage(sender)) { @@ -45,7 +46,6 @@ public class SkillresetCommand implements TabExecutor { return true; } - SkillType skill; if (args[0].equalsIgnoreCase("all")) { skill = null; } @@ -66,7 +66,6 @@ public class SkillresetCommand implements TabExecutor { return true; } - SkillType skill; if (args[1].equalsIgnoreCase("all")) { skill = null; }