Merge pull request #7 from zeuner/bugfix1

api compatibility
This commit is contained in:
Zheyu Shen 2019-01-10 19:59:32 -05:00 committed by GitHub
commit bb61f68038
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ end
function random_messages.initialize() --Set the interval in minetest.conf. function random_messages.initialize() --Set the interval in minetest.conf.
minetest.settings:set("random_messages_interval",120) minetest.settings:set("random_messages_interval",120)
minetest.settings:save(); minetest.settings:write();
return 120 return 120
end end