Fix bug in object equality check
This commit is contained in:
parent
1d4500a4d4
commit
cd80a9af22
@ -256,7 +256,7 @@ end
|
||||
local function checkEqual(obj1, obj2, funcName)
|
||||
local result1 = { runGetter(obj1, funcName) }
|
||||
local result2 = { runGetter(obj2, funcName) }
|
||||
return result1[1] and result2[2] and (result1[2] == result2[2])
|
||||
return result1[1] and result2[1] and (result1[2] == result2[2])
|
||||
end
|
||||
|
||||
local function checkEnchantments(obj1, obj2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user