aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java
diff options
context:
space:
mode:
authorsyeyoung <42869671+cyoung06@users.noreply.github.com>2020-11-23 17:38:00 +0900
committersyeyoung <42869671+cyoung06@users.noreply.github.com>2020-11-23 17:38:00 +0900
commit8292e2b632d34a92f98e8dd896750b5b5ab011bd (patch)
tree5d714771d737b866e33b840c21ed004ccc9dac72 /src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java
parentfdc4638c4bbd84e1429812387d0f3a2626b95ae6 (diff)
downloadSkyblock-Dungeons-Guide-8292e2b632d34a92f98e8dd896750b5b5ab011bd.tar.gz
Skyblock-Dungeons-Guide-8292e2b632d34a92f98e8dd896750b5b5ab011bd.tar.bz2
Skyblock-Dungeons-Guide-8292e2b632d34a92f98e8dd896750b5b5ab011bd.zip
gui stuff
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java b/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java
index 81e976b8..8eae47c4 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java
@@ -1,6 +1,8 @@
package kr.syeyoung.dungeonsguide;
+import kr.syeyoung.dungeonsguide.commands.CommandEditRoom;
import net.minecraft.init.Blocks;
+import net.minecraftforge.client.ClientCommandHandler;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
@@ -22,6 +24,9 @@ public class DungeonsGuide
dungeonsGuide = this;
skyblockStatus = new SkyblockStatus();
MinecraftForge.EVENT_BUS.register(new EventListener());
+ CommandEditRoom cc = new CommandEditRoom();
+ ClientCommandHandler.instance.registerCommand(cc);
+ MinecraftForge.EVENT_BUS.register(cc);
}
public SkyblockStatus getSkyblockStatus() {