1
0
mirror of git://repo.or.cz/minetest_treasurer.git synced 2025-07-01 15:50:24 +02:00

Compare commits

1 Commits

Author SHA1 Message Date
58dbeaf543 Version MFF. 2018-09-08 22:33:18 +02:00
7 changed files with 9 additions and 10 deletions

0
GROUPS_AND_PRECIOUSNESS Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

0
Treasurer_ANNOUNCEMENT Normal file → Executable file
View File

0
depends.txt Normal file → Executable file
View File

0
description.txt → descripton.txt Normal file → Executable file
View File

2
init.lua Normal file → Executable file
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 "..tostring(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 "..tosting(type(treasurer_groups)).." (expected: nil, string or table).")
return false
end

View File

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