Use 'setting_get*' methods instead of 'settings:get*':
Compatibility with 0.4.15 server.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
-- From TNT
|
||||
local cid_data = {}
|
||||
local radius = tonumber(minetest.settings:get('tnt_radius') or 3)
|
||||
local radius = tonumber(minetest.setting_get('tnt_radius') or 3)
|
||||
local large_radius = 5
|
||||
local loss_prob = {
|
||||
['default:cobble'] = 3,
|
||||
|
||||
Reference in New Issue
Block a user