peilaus alkaen
				https://github.com/luanti-org/minetest_game.git
				synced 2025-10-31 07:35:22 +01:00 
			
		
		
		
	Fix incorrectly negated comparisons
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -260,7 +260,7 @@ function doors.register(name, def) | ||||
| 		on_place = function(itemstack, placer, pointed_thing) | ||||
| 			local pos | ||||
|  | ||||
| 			if not pointed_thing.type == "node" then | ||||
| 			if pointed_thing.type ~= "node" then | ||||
| 				return itemstack | ||||
| 			end | ||||
|  | ||||
|   | ||||
		Viittaa uudesa ongelmassa
	
	Block a user