/grief_check fix compatibility issue
I don't think "settings:get_bool" exists on 0.4.14.
This commit is contained in:
parent
e48f5b9681
commit
f15a49801f
@ -203,7 +203,7 @@ minetest.register_chatcommand("grief_check", {
|
||||
.. " hours = 24 = 1d, limit = 5",
|
||||
privs = {interact=true},
|
||||
func = function(name, param)
|
||||
if not minetest.settings:get_bool("enable_rollback_recording") then
|
||||
if not minetest.setting_getbool("enable_rollback_recording") then
|
||||
return false, "Rollback functions are disabled."
|
||||
end
|
||||
local range, hours, limit =
|
||||
|
Loading…
x
Reference in New Issue
Block a user