aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/DankersSkyblockMod.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/Danker/DankersSkyblockMod.java')
-rw-r--r--src/main/java/me/Danker/DankersSkyblockMod.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/me/Danker/DankersSkyblockMod.java b/src/main/java/me/Danker/DankersSkyblockMod.java
index 280fc96..73c996b 100644
--- a/src/main/java/me/Danker/DankersSkyblockMod.java
+++ b/src/main/java/me/Danker/DankersSkyblockMod.java
@@ -2,6 +2,7 @@ package me.Danker;
import com.google.gson.JsonObject;
import me.Danker.commands.*;
+import me.Danker.commands.warp.WarpCommandHandler;
import me.Danker.events.*;
import me.Danker.features.*;
import me.Danker.features.loot.*;
@@ -76,6 +77,7 @@ public class DankersSkyblockMod {
public static boolean firstLaunch = false;
public static String configDirectory;
public static JsonObject data = null;
+ public static WarpCommandHandler warpCommandHandler;
public static int farmingLevel;
public static int miningLevel;
@@ -165,7 +167,7 @@ public class DankersSkyblockMod {
MinecraftForge.EVENT_BUS.register(new UpdateChecker());
MinecraftForge.EVENT_BUS.register(new WatcherReadyAlert());
MinecraftForge.EVENT_BUS.register(new WaterSolver());
-
+ MinecraftForge.EVENT_BUS.register(new HighlightCommissions());
MinecraftForge.EVENT_BUS.register(new LootDisplay());
MinecraftForge.EVENT_BUS.register(new LootTracker());
MinecraftForge.EVENT_BUS.register(new BlazeTracker());
@@ -205,7 +207,6 @@ public class DankersSkyblockMod {
ClientCommandHandler.instance.registerCommand(new DHelpCommand());
ClientCommandHandler.instance.registerCommand(new DankerGuiCommand());
ClientCommandHandler.instance.registerCommand(new DisplayCommand());
- ClientCommandHandler.instance.registerCommand(new DungeonsCommand());
ClientCommandHandler.instance.registerCommand(new FairySoulsCommand());
ClientCommandHandler.instance.registerCommand(new FarmLengthCommand());
ClientCommandHandler.instance.registerCommand(new GetkeyCommand());
@@ -232,6 +233,8 @@ public class DankersSkyblockMod {
ClientCommandHandler.instance.registerCommand(new ToggleCommand());
ClientCommandHandler.instance.registerCommand(new WeightCommand());
+ warpCommandHandler = new WarpCommandHandler();
+
configDirectory = event.getModConfigurationDirectory().toString();
}