Revert "make sure MV turbines only turn on in response to *flowing* water"

This reverts commit 8ebc1de29c.
This commit is contained in:
Thomas Rudin 2019-02-03 20:46:24 +01:00
parent f3050d985d
commit 3269de8f44

View File

@ -18,7 +18,7 @@ minetest.register_craft({
local function get_water_flow(pos)
local node = minetest.get_node(pos)
if minetest.get_item_group(node.name, "water") == 3 and string.find(node.name, "flowing") then
if minetest.get_item_group(node.name, "water") == 3 then
return node.param2 -- returns approx. water flow, if any
end
return 0