diff options
author | syeyoung <42869671+cyoung06@users.noreply.github.com> | 2020-11-24 16:17:43 +0900 |
---|---|---|
committer | syeyoung <42869671+cyoung06@users.noreply.github.com> | 2020-11-24 16:17:43 +0900 |
commit | 6f5c9e48ca18f6eb428284711f4ed5ce5419fb12 (patch) | |
tree | bacc663818b1d8e602ffb854815ff4ca5f3b6d18 /src/main/java/kr | |
parent | 8c45dda66cf5f37066f02c22ceb36509d0ac35c2 (diff) | |
download | Skyblock-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.java | 4 |
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); |