mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
Fix broken kill command
This commit is contained in:
parent
e3cea04f12
commit
38478ee7e3
@ -37,7 +37,7 @@ local function handle_clear_command(giver, receiver)
|
||||
end
|
||||
|
||||
local function handle_kill_command(suspect, victim)
|
||||
if not minetest.settings:get_bool("damage_enabled") then
|
||||
if minetest.settings:get_bool("damage_enabled") == false then
|
||||
return false, S("Players can't be killed right now, damage has been disabled.")
|
||||
end
|
||||
local victimref = minetest.get_player_by_name(victim)
|
||||
|
Loading…
Reference in New Issue
Block a user