forked from Mirrorlandia_minetest/minetest
Avoid negation of comparison operator (luacheck warning)
This commit is contained in:
parent
ac139ec03d
commit
cc91477308
@ -1282,7 +1282,7 @@ local function handle_kill_command(killer, victim)
|
||||
return false, S("@1 is already dead.", victim)
|
||||
end
|
||||
end
|
||||
if not killer == victim then
|
||||
if killer ~= victim then
|
||||
core.log("action", string.format("%s killed %s", killer, victim))
|
||||
end
|
||||
-- Kill victim
|
||||
|
Loading…
Reference in New Issue
Block a user