forked from mtcontrib/mobs_redo
min to max
This commit is contained in:
parent
93ca01de00
commit
9d653f894c
2
api.lua
2
api.lua
@ -2835,7 +2835,7 @@ function mobs:spawn_specific(name, nodes, neighbors, min_light, max_light,
|
|||||||
nodenames = nodes,
|
nodenames = nodes,
|
||||||
neighbors = neighbors,
|
neighbors = neighbors,
|
||||||
interval = interval,
|
interval = interval,
|
||||||
chance = min(1, (chance * mob_chance_multiplier)),
|
chance = max(1, (chance * mob_chance_multiplier)),
|
||||||
catch_up = false,
|
catch_up = false,
|
||||||
|
|
||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
|
Loading…
Reference in New Issue
Block a user