aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorfatpigsarefat <fatpigsarefat@outlook.com>2018-07-25 19:33:25 +0100
committerfatpigsarefat <fatpigsarefat@outlook.com>2018-07-25 19:40:41 +0100
commit561ff9a42657db30e3ebce5f7126b1a9a78efea4 (patch)
treeff2a47b0c2f7d98f0cf282eb8aa2797c134b5183 /src
parent7a21e621ddebdccc80234ea4828a36509aa3f6c1 (diff)
Fixed admin help command
- When trying to get admin help by doing "/q a" it would not work because of a misplaced method.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/me/fatpigsarefat/quests/commands/CommandQuests.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/me/fatpigsarefat/quests/commands/CommandQuests.java b/src/main/java/me/fatpigsarefat/quests/commands/CommandQuests.java
index 8c9baec7..e931f53b 100644
--- a/src/main/java/me/fatpigsarefat/quests/commands/CommandQuests.java
+++ b/src/main/java/me/fatpigsarefat/quests/commands/CommandQuests.java
@@ -242,10 +242,9 @@ public class CommandQuests implements CommandExecutor {
}
return true;
}
-
- showAdminHelp(sender, null);
- return true;
}
+ showAdminHelp(sender, null);
+ return true;
}
if (sender instanceof Player && (args[0].equalsIgnoreCase("q") || args[0].equalsIgnoreCase("quests"))) {
Player player = (Player) sender;