mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
Fix crash with unknown item in water
This commit is contained in:
parent
82fca7edf6
commit
fa3ca02906
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue