mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
typo
This commit is contained in:
@@ -8,11 +8,10 @@ local pairs = pairs
|
|||||||
local format, join, upper = string.format, string.join, string.upper
|
local format, join, upper = string.format, string.join, string.upper
|
||||||
--WoW API / Variables
|
--WoW API / Variables
|
||||||
local GetInventoryItemDurability = GetInventoryItemDurability
|
local GetInventoryItemDurability = GetInventoryItemDurability
|
||||||
local GetInventoryItemTexture = GetInventoryItemTexture
|
|
||||||
local GetInventorySlotInfo = GetInventorySlotInfo
|
local GetInventorySlotInfo = GetInventorySlotInfo
|
||||||
local ToggleCharacter = ToggleCharacter
|
local ToggleCharacter = ToggleCharacter
|
||||||
|
|
||||||
local DURABILITY = "Durability"
|
local DURABILITY = "Durability" -- Need add in locales
|
||||||
|
|
||||||
local displayString = ""
|
local displayString = ""
|
||||||
local tooltipString = "%d%%"
|
local tooltipString = "%d%%"
|
||||||
@@ -42,8 +41,6 @@ local function OnEvent(self, t)
|
|||||||
current, max = GetInventoryItemDurability(slot)
|
current, max = GetInventoryItemDurability(slot)
|
||||||
|
|
||||||
if current then
|
if current then
|
||||||
current, max = GetInventoryItemDurability(slot)
|
|
||||||
|
|
||||||
invDurability[value] = (current / max) * 100
|
invDurability[value] = (current / max) * 100
|
||||||
|
|
||||||
if ((current / max) * 100) < totalDurability then
|
if ((current / max) * 100) < totalDurability then
|
||||||
|
|||||||
Reference in New Issue
Block a user