forked from luanti-org/minetest_game
		
	Remove unused and clean up missused variable-value assignments.
* Unused variables * Unused values (assigned to variables, but overwritten before use) * Defining already defined variables instead of reassigning to them.
This commit is contained in:
		| @@ -80,8 +80,9 @@ function bucket.register_liquid(source, flowing, itemname, inventory_image, name | ||||
| 				else | ||||
| 					-- not buildable to; place the liquid above | ||||
| 					-- check if the node above can be replaced | ||||
|  | ||||
| 					lpos = pointed_thing.above | ||||
| 					local node = minetest.get_node_or_nil(lpos) | ||||
| 					node = minetest.get_node_or_nil(lpos) | ||||
| 					local above_ndef = node and minetest.registered_nodes[node.name] | ||||
|  | ||||
| 					if not above_ndef or not above_ndef.buildable_to then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user