aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com
diff options
context:
space:
mode:
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);