From f971ba562f7bf1aae4c3648e12b8e78ac0cb0999 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Sun, 26 Oct 2025 11:06:29 +0000 Subject: [PATCH] fix beach sound check --- soundsets.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/soundsets.lua b/soundsets.lua index 79038b0..713f2f1 100644 --- a/soundsets.lua +++ b/soundsets.lua @@ -162,12 +162,14 @@ ambience.add_set("beach", { {name = "beach_2", length = 6} }, + nodes = {"group:water"}, + sound_check = function(def) local c = (def.totals["default:water_source"] or 0) + (def.totals["mcl_core:water_source"] or 0) - if def.pos.y < 6 and def.pos.y > 0 and c > 150 then + if def.pos.y < 6 and def.pos.y > 0 and c > 130 then return "beach" end end