From 38478ee7e321838b2445fbf2278015f9fe4fdc5d Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 25 Jan 2018 21:08:25 +0100 Subject: [PATCH] Fix broken kill command --- mods/MISC/mcl_commands/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/MISC/mcl_commands/init.lua b/mods/MISC/mcl_commands/init.lua index aa3d78d70..370e929b3 100644 --- a/mods/MISC/mcl_commands/init.lua +++ b/mods/MISC/mcl_commands/init.lua @@ -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)