Module:ModifierTables: Difference between revisions

m
Correct function reference
(_getModifierTable: Improve mod ID/alias checks to avoid needing to specify namespaced IDs)
m (Correct function reference)
Line 168: Line 168:
local combinedProps = Modifiers.combineDataCriteria({ globalPropIDs, modPropIDs })
local combinedProps = Modifiers.combineDataCriteria({ globalPropIDs, modPropIDs })


if p.getModifierByID(modID) ~= nil then
if Modifiers.getModifierByID(modID) ~= nil then
-- Provided ID is a modifier ID (as opposed to an alias)
-- Provided ID is a modifier ID (as opposed to an alias)
table.insert(modifierIDs, {
table.insert(modifierIDs, {