server parameter for blast explosion is now limited

This commit is contained in:
Alexsandro Percy 2023-08-26 08:39:54 -03:00
parent cc10bd1fef
commit 8654a100f7

View file

@ -458,6 +458,9 @@ function airutils.normalize_rotations(rotations)
end end
minetest.register_chatcommand("enable_blast_damage", { minetest.register_chatcommand("enable_blast_damage", {
params = "<true/false>",
description = "Enable/disable explosion blast damage",
privs = {server=true},
func = function(name, param) func = function(name, param)
local command = param local command = param