diff options
Diffstat (limited to 'commands/throne.js')
-rw-r--r-- | commands/throne.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/commands/throne.js b/commands/throne.js index cab7779..517c93d 100644 --- a/commands/throne.js +++ b/commands/throne.js @@ -1,9 +1,10 @@ import constants from "../util/constants" -import { waypointRender } from "../util/waypoints" +import { waypointRender } from "../util/helperFunctions" const PREFIX = constants.PREFIX let throneWaypoints = [] + export function throne(arg2) { if(arg2 != "toggle") @@ -38,10 +39,12 @@ export function throne(arg2) } } + register("renderWorld", () => { - waypointRender(throneWaypoints) + waypointRender(throneWaypoints, true) }) + register("worldLoad", () => { throneWaypoints = [] }) |