Replace deprecated setting_get methods

This commit is contained in:
Jordan Irwin
2021-05-08 11:44:42 -07:00
parent be4c3617af
commit b9609a5b16
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
-- From TNT
local cid_data = {}
local radius = tonumber(core.setting_get("tnt_radius") or 3)
local radius = tonumber(core.settings:get("tnt_radius") or 3)
local large_radius = 5
local loss_prob = {
["default:cobble"] = 3,