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',