fixed massive amount of water errors (only 3 sussy error messages left) and now water can flow
This commit is contained in:
@@ -119,7 +119,7 @@ local entity = {
|
||||
pos.z = pos.z + dir_sin
|
||||
|
||||
local bnode = minetest.get_node(pos)
|
||||
if bnode.name == "air" or bnode.name == "amogus_blocks:water" then
|
||||
if bnode.name == "air" or bnode.name == "amogus_blocks:water_source" or bnode.name == "amogus_blocks:water_flowing" then
|
||||
self.block_lastly_in_front = false
|
||||
else
|
||||
if self.block_lastly_in_front == false then
|
||||
|
||||
@@ -281,7 +281,7 @@ local entity = {
|
||||
pos.z = pos.z + dir_sin
|
||||
|
||||
local bnode = minetest.get_node(pos)
|
||||
if bnode.name == "air" or bnode.name == "amogus_blocks:water" then
|
||||
if bnode.name == "air" or bnode.name == "amogus_blocks:water_source" or bnode.name == "amogus_blocks:water_flowing" then
|
||||
self.block_lastly_in_front = false
|
||||
else
|
||||
if self.block_lastly_in_front == false then
|
||||
|
||||
Reference in New Issue
Block a user