1.1.3
esorochinskiy [09-13-22 - 12:35]
diff --git a/WellEater.lua b/WellEater.lua
index 6af7b83..4b4f41d 100644
--- a/WellEater.lua
+++ b/WellEater.lua
@@ -2,7 +2,7 @@ WellEater = WellEater or {}
WellEater.WELLEATER_SAVED_VERSION = 1
WellEater.AddonName = "WellEater"
WellEater.DisplayName = "|cFFFFFFWell |c0099FFEater|r"
-WellEater.Version = "1.1.2"
+WellEater.Version = "1.1.3"
WellEater.Author = "|c5EFFF5esorochinskiy|r"
local NAMESPACE = {}
NAMESPACE.settingsDefaults = {
@@ -285,6 +285,7 @@ end
local function checkAndRepair()
local bagC
local locSettings = WellEater:getAllUserPreferences()
+ local wasCrownUsed = false
for _, testSlot in pairs(NAMESPACE.wearSlots) do
local linkId = GetItemLink(BAG_WORN, testSlot)
@@ -331,6 +332,7 @@ local function checkAndRepair()
elseif locSettings.useCrownRepair then
tryToUseItem(BAG_BACKPACK, slotId)
formattedName = locale.allRepair
+ wasCrownUsed = true
end
if formattedName then
df("[%s] %s", WellEater.AddonName, formattedName)
@@ -343,7 +345,11 @@ local function checkAndRepair()
hideOut(WellEaterIndicatorWeaponLabel, WellEater.WeaponAnimOut)
end, 1500)
end
- break
+ if wasCrownUsed then
+ return
+ else
+ break
+ end
end
end
end
diff --git a/WellEater.txt b/WellEater.txt
index 02cb0e2..e2489cf 100644
--- a/WellEater.txt
+++ b/WellEater.txt
@@ -29,9 +29,9 @@
## Title: |cFFFFFFWell |c0099FFEater|r
## Author: |c5EFFF5esorochinskiy|r
-## APIVersion: 101033 101034
+## APIVersion: 101033 101034 101035
## Description: Auto eat your preferred meals provided by your inventory after food or drink buff expiration. Provides weapon autoload and armor autorepair
-## Version: 1.1.2
+## Version: 1.1.3
## SavedVariables: WellEater_Settings
## DependsOn: LibAddonMenu-2.0>=28