From 905e5cdc31c41ff832959eea430518d97a41fb7e Mon Sep 17 00:00:00 2001 From: Bjarne Koll Date: Tue, 15 Mar 2022 19:44:25 +0100 Subject: [PATCH] Properly lookup random-ticked precipitation blocks (#7606) --- patches/server/Optimise-random-block-ticking.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/server/Optimise-random-block-ticking.patch b/patches/server/Optimise-random-block-ticking.patch index cf131586b9..7edc59dbf3 100644 --- a/patches/server/Optimise-random-block-ticking.patch +++ b/patches/server/Optimise-random-block-ticking.patch @@ -126,13 +126,13 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 if (biomebase.shouldSnow(this, blockposition)) { org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockFormEvent(this, blockposition, Blocks.SNOW.defaultBlockState(), null); // CraftBukkit } ++ blockposition.setY(downY); // Paper - BlockState iblockdata = this.getBlockState(blockposition1); + BlockState iblockdata = this.getBlockState(blockposition); // Paper Biome.Precipitation biomebase_precipitation = biomebase.getPrecipitation(); - if (biomebase_precipitation == Biome.Precipitation.RAIN && biomebase.coldEnoughToSnow(blockposition1)) { -+ blockposition.setY(downY); // Paper + if (biomebase_precipitation == Biome.Precipitation.RAIN && biomebase.coldEnoughToSnow(blockposition)) { // Paper biomebase_precipitation = Biome.Precipitation.SNOW; }