Fix incorrectly negated comparisons

This commit is contained in:
Lars Mueller
2022-03-26 19:55:12 +01:00
committed by Lars Müller
vanhempi 659895c3ed
commit 638099c999
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa

Näytä tiedosto

@@ -398,7 +398,7 @@ minetest.register_craftitem("carts:cart", {
pointed_thing) or itemstack
end
if not pointed_thing.type == "node" then
if pointed_thing.type ~= "node" then
return
end
if carts:is_rail(pointed_thing.under) then