From f81cb32293e03c4d0b426673076e8f82441031af Mon Sep 17 00:00:00 2001 From: Bunny67 Date: Sat, 14 Jul 2018 22:52:35 +0300 Subject: [PATCH] typo --- ElvUI/Modules/DataTexts/Durability.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ElvUI/Modules/DataTexts/Durability.lua b/ElvUI/Modules/DataTexts/Durability.lua index 9d3f4bd..bf077f8 100644 --- a/ElvUI/Modules/DataTexts/Durability.lua +++ b/ElvUI/Modules/DataTexts/Durability.lua @@ -8,11 +8,10 @@ local pairs = pairs local format, join, upper = string.format, string.join, string.upper --WoW API / Variables local GetInventoryItemDurability = GetInventoryItemDurability -local GetInventoryItemTexture = GetInventoryItemTexture local GetInventorySlotInfo = GetInventorySlotInfo local ToggleCharacter = ToggleCharacter -local DURABILITY = "Durability" +local DURABILITY = "Durability" -- Need add in locales local displayString = "" local tooltipString = "%d%%" @@ -42,8 +41,6 @@ local function OnEvent(self, t) current, max = GetInventoryItemDurability(slot) if current then - current, max = GetInventoryItemDurability(slot) - invDurability[value] = (current / max) * 100 if ((current / max) * 100) < totalDurability then