Compare commits

3 Commits

Author SHA1 Message Date
ad12ac22f3 Add mod.conf 2016-11-13 18:11:44 +01:00
6edd000064 Fix description file name 2016-11-05 19:19:05 +01:00
71a136d920 Fix typo: tosting instead of tostring 2016-08-11 17:27:03 +02:00
3 changed files with 2 additions and 1 deletions

View File

@ -151,7 +151,7 @@ function treasurer.register_treasure(name, rarity, preciousness, count, wear, tr
-- check type of treasurer_group
if type(treasurer_groups) ~= "table" and type(treasurer_groups) ~= "nil" and type(treasurer_groups) ~= "string" then
minetest.log("error","[treasurer] I rejected the treasure \""..tostring(name).."\" because the treasure_group parameter is of type "..tosting(type(treasurer_groups)).." (expected: nil, string or table).")
minetest.log("error","[treasurer] I rejected the treasure \""..tostring(name).."\" because the treasure_group parameter is of type "..tostring(type(treasurer_groups)).." (expected: nil, string or table).")
return false
end

1
mod.conf Normal file
View File

@ -0,0 +1 @@
name = treasurer