From 0af31b4e7eeb14a58c2bd9a4c4c68b97b4a7d6e8 Mon Sep 17 00:00:00 2001 From: Cubitect Date: Sun, 2 Jun 2024 22:22:00 +0200 Subject: [PATCH] undo bad multiplication --- finders.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/finders.c b/finders.c index 97957c7..6f89eef 100644 --- a/finders.c +++ b/finders.c @@ -1317,8 +1317,8 @@ L_feature: { if (g->mc <= MC_1_17) g->entry = &g->ls.layers[L_RIVER_MIX_4]; - sampleX = x * 4; - sampleZ = z * 4; + sampleX = x >> 2; + sampleZ = z >> 2; } id = getBiomeAt(g, 0, sampleX, 319>>2, sampleZ); if (id < 0 || !isViableFeatureBiome(g->mc, structureType, id))