mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
Reduce frequency of vines ABM to reduce load
This commit is contained in:
parent
2a8fcd119b
commit
d66de5adfb
1 changed files with 2 additions and 2 deletions
|
@ -1138,8 +1138,8 @@ minetest.register_abm({
|
||||||
nodenames = {"mcl_core:vine"},
|
nodenames = {"mcl_core:vine"},
|
||||||
neighbors = {"air"},
|
neighbors = {"air"},
|
||||||
-- A low interval and a high inverse chance spreads the load
|
-- A low interval and a high inverse chance spreads the load
|
||||||
interval = 3,
|
interval = 4,
|
||||||
chance = 5,
|
chance = 8,
|
||||||
action = function(p0, node, _, _)
|
action = function(p0, node, _, _)
|
||||||
if not mcl_core.check_vines_supported(p0, node) then
|
if not mcl_core.check_vines_supported(p0, node) then
|
||||||
-- Vines must die!
|
-- Vines must die!
|
||||||
|
|
Loading…
Reference in a new issue