From 867ae81e59bc239cae8855012bd153c17d2afa68 Mon Sep 17 00:00:00 2001 From: azuraji <72912613+azuraji@users.noreply.github.com> Date: Sun, 11 Dec 2022 18:55:39 +0100 Subject: [PATCH] Listen to the Renown level updated event --- FuBar_FuXPFu/FuBar_FuXPFu.lua | 1 + FuBar_FuXPFu/FuBar_FuXPFu.toc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/FuBar_FuXPFu/FuBar_FuXPFu.lua b/FuBar_FuXPFu/FuBar_FuXPFu.lua index 5eb8353..9a53129 100644 --- a/FuBar_FuXPFu/FuBar_FuXPFu.lua +++ b/FuBar_FuXPFu/FuBar_FuXPFu.lua @@ -402,6 +402,7 @@ function FuXP:OnEnable() self:RegisterBucketEvent("UPDATE_EXHAUSTION", 60, "Update") self:RegisterEvent("PLAYER_XP_UPDATE", "OnTextUpdate") + self:RegisterEvent("MAJOR_FACTION_RENOWN_LEVEL_CHANGED", "OnTextUpdate") self:RegisterEvent("UPDATE_FACTION", "OnUpdateFaction") self:SecureHook("SetWatchedFactionIndex"); diff --git a/FuBar_FuXPFu/FuBar_FuXPFu.toc b/FuBar_FuXPFu/FuBar_FuXPFu.toc index bcce86a..1edc6e6 100644 --- a/FuBar_FuXPFu/FuBar_FuXPFu.toc +++ b/FuBar_FuXPFu/FuBar_FuXPFu.toc @@ -4,7 +4,7 @@ ## Notes: Lightweight XP Bar ## Notes-zhCN: 迷你经验条 ## Notes-zhTW: 輕量級的經驗值條模組。 -## Version: 10.0.2.6 +## Version: 10.0.2.7 ## Author: Wobin, azuraji ## eMail: wobster@gmail.com ## X-Credits: Bant (For the design)