mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 20:03:45 +01:00
Fix crash with unknown item in water
This commit is contained in:
parent
82fca7edf6
commit
fa3ca02906
@ -108,6 +108,9 @@ local liquid_flow_action = function(pos, group, action)
|
||||
return false
|
||||
end
|
||||
local d = minetest.registered_nodes[n.name]
|
||||
if not d then
|
||||
return false
|
||||
end
|
||||
--[[ Check if we want to perform the liquid action.
|
||||
* 1: Item must be in liquid group
|
||||
* 2a: If target node is below liquid, always succeed
|
||||
|
Loading…
Reference in New Issue
Block a user