Skip to content
Snippets Groups Projects
Commit 39e63229 authored by Alex Ksandra's avatar Alex Ksandra
Browse files

Poor reavers

parent 00569929
No related branches found
No related tags found
No related merge requests found
......@@ -381,7 +381,7 @@ function _M:canWearObject(o, try_slot)
local req = rawget(o, "require")
-- check if the slot matches dammit
if try_slot and try_slot ~= o.slot and try_slot ~= o.offslot then
if try_slot and try_slot ~= o.slot and try_slot ~= self:getObjectOffslot(o) then
return nil, "wrong equipment slot"
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment