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