merge upstream commit: Remove unused and clean up missused variable-value assignments.

This commit is contained in:
Tim 2016-06-26 13:34:14 +02:00 committed by tchncs
parent 5b36a03f02
commit 0c3d4135e1
14 changed files with 634 additions and 30 deletions

View file

@ -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