Add stricter match criteria
This commit is contained in:
parent
3b25361988
commit
5ae460b308
@ -202,7 +202,7 @@ end
|
||||
|
||||
function FILTER_MATCHING_SLOTS(target)
|
||||
return function(detail)
|
||||
return detail ~= nil and (target == nil or (checkField(target.name, detail.name) and
|
||||
return detail ~= nil and detail.count ~= nil and (target == nil or (checkField(target.name, detail.name) and
|
||||
checkField(target.displayName, detail.displayName) and
|
||||
checkField(target.damage, detail.damage) and
|
||||
checkField(target.enchantments, detail.enchantments)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user