forked from nalc/nalc_game
Fix incorrectly negated comparisons
This commit is contained in:
committed by
Lars Müller
parent
659895c3ed
commit
638099c999
@ -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
|
||||
|
Reference in New Issue
Block a user