From 5dd58a577f8ada29e8239db44ea81622115896ff Mon Sep 17 00:00:00 2001 From: jameshallam93 Date: Fri, 10 Feb 2023 18:08:53 +0000 Subject: [PATCH] fix: level up widget bug closes #318 --- src/plugins/skills/level-up-dialogue.plugin.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/skills/level-up-dialogue.plugin.ts b/src/plugins/skills/level-up-dialogue.plugin.ts index 4f3e5d639..bd7b06008 100644 --- a/src/plugins/skills/level-up-dialogue.plugin.ts +++ b/src/plugins/skills/level-up-dialogue.plugin.ts @@ -13,8 +13,8 @@ const widgetIds = [ /** * Handles a level-up dialogue action. */ -export const handler: widgetInteractionActionHandler = ({ player }) => - player.interfaceState.closeWidget('chatbox'); +export const handler: widgetInteractionActionHandler = ({ player }) => player.interfaceState.closeChatOverlayWidget(); + export default { pluginId: 'rs:close_level_up_message',