Anonymous

Module:Skills/Cartography: Difference between revisions

From Melvor Idle
Fixed nil check logic
(Add support for discoveryModifier and activeModifier parameters)
(Fixed nil check logic)
Line 228: Line 228:


function p.getPointOfInterestTable(frame)
function p.getPointOfInterestTable(frame)
local args = frame.args ~= nil and frame.args or frame
local args = (frame and frame.args ~= nil and frame.args) or {}
local POIs = {}
local POIs = {}
local POI_Strings = {}
local POI_Strings = {}
56

edits