don't need this wall
Darthpred [04-22-15 - 12:37]
diff --git a/ElvUI_SLE/modules/sledatatexts/durability.lua b/ElvUI_SLE/modules/sledatatexts/durability.lua
index 4c89484..435d1b7 100644
--- a/ElvUI_SLE/modules/sledatatexts/durability.lua
+++ b/ElvUI_SLE/modules/sledatatexts/durability.lua
@@ -58,16 +58,5 @@ local function OnEnter(self)
DT.tooltip:Show()
end
---[[
- DT:RegisterDatatext(name, events, eventFunc, updateFunc, clickFunc, onEnterFunc, onLeaveFunc)
-
- name - name of the datatext (required)
- events - must be a table with string values of event names to register
- eventFunc - function that gets fired when an event gets triggered
- updateFunc - onUpdate script target function
- click - function to fire when clicking the datatext
- onEnterFunc - function to fire OnEnter
- onLeaveFunc - function to fire OnLeave, if not provided one will be set for you that hides the tooltip.
-]]
DT:RegisterDatatext('Durability', {'PLAYER_ENTERING_WORLD', "UPDATE_INVENTORY_DURABILITY", "MERCHANT_SHOW"}, OnEvent, nil, Click, OnEnter)