From 9d653f894c9d3bf64ed6f8450136e073fa83ce25 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 1 Jan 2018 17:41:49 +0000 Subject: [PATCH] min to max --- api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)