aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com
diff options
context:
space:
mode:
authorLMBishop <13875753+LMBishop@users.noreply.github.com>2021-03-27 20:37:19 +0000
committerLMBishop <13875753+LMBishop@users.noreply.github.com>2021-03-27 20:37:19 +0000
commit4d8ab12cc609e745386e40a4b8b2e474503b5496 (patch)
treebb2f67588ce6a06357eb4aa75e9a28bb3e827f6e /src/main/java/com
parent43083631c6cce8533ba5b05bd2014269d65a950c (diff)
Fix null command
- Closes #155
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/leonardobishop/quests/Quests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/leonardobishop/quests/Quests.java b/src/main/java/com/leonardobishop/quests/Quests.java
index 1997699b..1da974a3 100644
--- a/src/main/java/com/leonardobishop/quests/Quests.java
+++ b/src/main/java/com/leonardobishop/quests/Quests.java
@@ -156,7 +156,7 @@ public class Quests extends JavaPlugin {
dataGenerator();
setupVersionSpecific();
- Bukkit.getPluginCommand("quests").setExecutor(new CommandQuests(this));
+ super.getCommand("quests").setExecutor(new CommandQuests(this));
Bukkit.getPluginManager().registerEvents(new EventPlayerJoin(this), this);
Bukkit.getPluginManager().registerEvents(new MenuController(this), this);
Bukkit.getPluginManager().registerEvents(new EventPlayerLeave(this), this);