aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr
diff options
context:
space:
mode:
authorsyeyoung <42869671+cyoung06@users.noreply.github.com>2020-11-24 16:17:43 +0900
committersyeyoung <42869671+cyoung06@users.noreply.github.com>2020-11-24 16:17:43 +0900
commit6f5c9e48ca18f6eb428284711f4ed5ce5419fb12 (patch)
treebacc663818b1d8e602ffb854815ff4ca5f3b6d18 /src/main/java/kr
parent8c45dda66cf5f37066f02c22ceb36509d0ac35c2 (diff)
downloadSkyblock-Dungeons-Guide-6f5c9e48ca18f6eb428284711f4ed5ce5419fb12.tar.gz
Skyblock-Dungeons-Guide-6f5c9e48ca18f6eb428284711f4ed5ce5419fb12.tar.bz2
Skyblock-Dungeons-Guide-6f5c9e48ca18f6eb428284711f4ed5ce5419fb12.zip
register commandos
Diffstat (limited to 'src/main/java/kr')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java b/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuide.java
index 8a00480d..cd99b1d0 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 kr.syeyoung.dungeonsguide.commands.CommandLoadData;
+import kr.syeyoung.dungeonsguide.commands.CommandSaveData;
import kr.syeyoung.dungeonsguide.dungeon.roomfinder.DungeonRoomInfoRegistry;
import lombok.Getter;
import net.minecraft.init.Blocks;
@@ -32,6 +34,8 @@ public class DungeonsGuide
CommandEditRoom cc = new CommandEditRoom();
ClientCommandHandler.instance.registerCommand(cc);
MinecraftForge.EVENT_BUS.register(cc);
+ ClientCommandHandler.instance.registerCommand(new CommandLoadData());
+ ClientCommandHandler.instance.registerCommand(new CommandSaveData());
configDir.mkdirs();
DungeonRoomInfoRegistry.loadAll(configDir);