diff options
Diffstat (limited to 'features/improvements/index.js')
-rw-r--r-- | features/improvements/index.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/features/improvements/index.js b/features/improvements/index.js index 32b1641..c2b098a 100644 --- a/features/improvements/index.js +++ b/features/improvements/index.js @@ -20,6 +20,15 @@ class Improvements extends Feature { ChatLib.chat(color + "&m" + ChatLib.getChatBreak(" ") + "&r"); } }).trigger.triggerIfCanceled(false) + + this.registerCommand("warp", (...args)=>{ + if(args[0] === "dung") args[0] = "dungeon_hub" + + ChatLib.command("warp " + args.join(" ")) + }) + this.registerCommand("dung", (...args)=>{ + ChatLib.command("warp dungeon_hub") + }) } |