fix Unfit lib

This commit is contained in:
Pinya
2018-07-18 15:15:38 +03:00
parent 96963c6729
commit 0b342cc9c0
@@ -105,6 +105,6 @@ end
function Lib:IsClassUnusable(subclass, slot) function Lib:IsClassUnusable(subclass, slot)
if subclass then if subclass then
return slot ~= '' and Unusable[subclass] or slot == 'INVTYPE_WEAPONOFFHAND' and Lib.cannotDual return slot ~= '' and Lib.unusable[subclass] or slot == 'INVTYPE_WEAPONOFFHAND' and Lib.cannotDual
end end
end end