-minor update
Xruptor [11-01-11 - 12:50]
diff --git a/XanDurability.lua b/XanDurability.lua
index 94a909a..ca10e00 100644
--- a/XanDurability.lua
+++ b/XanDurability.lua
@@ -39,15 +39,15 @@ function f:PLAYER_LOGIN()
self:RegisterEvent("PLAYER_REGEN_ENABLED")
self:RegisterEvent("UPDATE_INVENTORY_DURABILITY")
-
- self:UnregisterEvent("PLAYER_LOGIN")
- self.PLAYER_LOGIN = nil
SLASH_XANDURABILITY1 = "/xdu";
SlashCmdList["XANDURABILITY"] = xanDurability_SlashCommand;
local ver = GetAddOnMetadata("xanDurability","Version") or '1.0'
DEFAULT_CHAT_FRAME:AddMessage(string.format("|cFF99CC33%s|r [v|cFFDF2B2B%s|r] Loaded", "xanDurability", ver or "1.0"))
+
+ self:UnregisterEvent("PLAYER_LOGIN")
+ self.PLAYER_LOGIN = nil
end
function xanDurability_SlashCommand(cmd)
diff --git a/XanDurability.toc b/XanDurability.toc
index 58c7c45..3e6fe2f 100644
--- a/XanDurability.toc
+++ b/XanDurability.toc
@@ -2,7 +2,7 @@
## Title: xanDurability
## Notes: A small window that displays the total current armour durability.
## Author: Xruptor
-## Version: 2.3
+## Version: 2.3.1
## SavedVariablesPerCharacter: XanDUR_DB
xanDurability.lua