17,101
edits
(Add TotH icon to tables) |
(Use printError function) |
||
Line 25: | Line 25: | ||
local prayer = p.getPrayer(prayerName) | local prayer = p.getPrayer(prayerName) | ||
if prayer == nil then | if prayer == nil then | ||
return | return Shared.printError('No prayer named "' .. prayerName .. '" exists in the data module') | ||
end | end | ||
Line 85: | Line 85: | ||
local prayer = p.getPrayer(prayerName) | local prayer = p.getPrayer(prayerName) | ||
if prayer == nil then | if prayer == nil then | ||
return | return Shared.printError('No prayer named "' .. prayerName .. '" exists in the data module') | ||
end | end | ||
Line 110: | Line 110: | ||
local prayer = p.getPrayer(prayerName) | local prayer = p.getPrayer(prayerName) | ||
if prayer == nil then | if prayer == nil then | ||
return | return Shared.printError('No prayer named "' .. prayerName .. '" exists in the data module') | ||
end | end | ||
Line 124: | Line 124: | ||
local prayer = p.getPrayer(prayerName) | local prayer = p.getPrayer(prayerName) | ||
if prayer == nil then | if prayer == nil then | ||
return | return Shared.printError('No prayer named "' .. prayerName .. '" exists in the data module') | ||
end | end | ||