1
0
Fork 0

Fix broken kill command

This commit is contained in:
Wuzzy 2018-01-25 21:08:25 +01:00
parent e3cea04f12
commit 38478ee7e3
1 changed files with 1 additions and 1 deletions

View File

@ -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)