From b1cd730847e8597a67d8eb9cf4cdbc53114373a8 Mon Sep 17 00:00:00 2001 From: James David Clarke Date: Fri, 5 Jan 2024 14:01:59 +0000 Subject: [PATCH] Extinguish radius --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index 143d982..4ce0ebd 100644 --- a/init.lua +++ b/init.lua @@ -69,6 +69,7 @@ if minetest.get_modpath("mcl_inventory") then (reason.type == "arrow" or reason.type == "fireball") then -- Check PvP settings for both players if not is_pvp_enabled(obj) or not is_pvp_enabled(reason.source) then + mcl_potions._extinguish_nearby_fire(obj:get_pos(),4) table.insert(pvp_choice.extinguish, obj:get_player_name()) return 0 -- No damage if PvP is disabled for either player end