forked from Minetest/dynamic_liquid
demote error to warning
parent
1bcdefb766
commit
c5907a1490
2
init.lua
2
init.lua
|
@ -255,7 +255,7 @@ if flow_through then
|
||||||
local add_flow_through = function(node_name)
|
local add_flow_through = function(node_name)
|
||||||
local node_def = minetest.registered_nodes[node_name]
|
local node_def = minetest.registered_nodes[node_name]
|
||||||
if node_def == nil then
|
if node_def == nil then
|
||||||
minetest.log("error", "dynamic_liquid attempted to call add_flow_through on the node name "
|
minetest.log("warning", "dynamic_liquid attempted to call add_flow_through on the node name "
|
||||||
.. node_name .. ", which was not found in minetest.registered_nodes.")
|
.. node_name .. ", which was not found in minetest.registered_nodes.")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue