Skip to content

Commit

Permalink
Fix error on load
Browse files Browse the repository at this point in the history
`GetAuctionItemClasses()` no longer exists.
  • Loading branch information
lilyball committed Aug 15, 2016
1 parent 30680e5 commit 15f7dfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions externals/disenchant_probability.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

local myname, ns = ...
local GetItemInfo = GetItemInfo
local WEAPON, ARMOR = GetAuctionItemClasses() -- returns localized strings

local WEAPON = GetItemClassInfo(LE_ITEM_CLASS_WEAPON) -- returns localized strings
local ARMOR = GetItemClassInfo(LE_ITEM_CLASS_ARMOR)

-- I am lazy, so I "borrowed" these constants from Enchantrix ^^
local VOID, NEXUS, ABYSS, MAELSTROM = 22450, 20725, 34057, 52722
Expand Down

0 comments on commit 15f7dfa

Please sign in to comment.