summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.lua b/api.lua
index f0fa541..4f3c1e9 100644
--- a/api.lua
+++ b/api.lua
@@ -2835,7 +2835,7 @@ function mobs:spawn_specific(name, nodes, neighbors, min_light, max_light,
nodenames = nodes,
neighbors = neighbors,
interval = interval,
- chance = min(1, (chance * mob_chance_multiplier)),
+ chance = max(1, (chance * mob_chance_multiplier)),
catch_up = false,
action = function(pos, node, active_object_count, active_object_count_wider)