Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
Living swank is the best revenge.
  • Loading branch information
opussf committed Jun 8, 2024
2 parents 7c5bfe8 + 5119077 commit dfa8396
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
INTERFACE=100206
INTERFACE=100207
ADDONLOC=/Applications/World of Warcraft/_retail_/Interface/Addons
3 changes: 2 additions & 1 deletion src/INEED.lua
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ function INEED.ADDON_LOADED( _, arg1 )
INEED.name = UnitName("player")
INEED.realm = GetRealmName()
INEED.faction = UnitFactionGroup("player")
INEED.faction = "BOTH"

-- Setup game settings
--GameTooltip:HookScript("OnTooltipSetItem", INEED.hookSetItem)
Expand Down Expand Up @@ -548,7 +549,7 @@ function INEED.makeOthersNeed()
for realm, _ in pairs( INEED_data[itemID] ) do
INEED.othersNeed[itemID][realm] = {}
for name, data in pairs( INEED_data[itemID][realm] ) do
local faction = INEED_data[itemID][realm][name].faction or ""
--local faction = INEED_data[itemID][realm][name].faction or ""
if data.faction and not ((realm == INEED.realm) and (name == INEED.name)) then
INEED.othersNeed[itemID][realm][data.faction] =
(INEED.othersNeed[itemID][realm][data.faction] and INEED.othersNeed[itemID][realm][data.faction]
Expand Down

0 comments on commit dfa8396

Please sign in to comment.