diff --git a/mods/playertools/init.lua b/mods/playertools/init.lua index e20cce3..574820c 100644 --- a/mods/playertools/init.lua +++ b/mods/playertools/init.lua @@ -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 =