forked from Minetest/dripstone
Fix bug for non-trickling dripstone
parent
4d6044c4bf
commit
db95803e7b
2
api.lua
2
api.lua
|
@ -172,11 +172,13 @@ function internal.register_dripstone_flavor(flavor, def)
|
|||
-- full, and the structure simply waits for a dripstone node to grow.
|
||||
-- This behaviour is designed to be easy to override. (For example: if
|
||||
-- you want a HEAVY watered dripstone type that holds 2 droplets.)
|
||||
if trickl then
|
||||
internal.register_droplet_catcher(
|
||||
trickl,
|
||||
internal.size_to_name(flavor, 1),
|
||||
internal.size_to_name(flavor, 1)
|
||||
)
|
||||
end
|
||||
|
||||
-- Allow spike stalagmites to catch droplets.
|
||||
-- This feature can override the former safeguard.
|
||||
|
|
Loading…
Reference in New Issue