1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-27 14:34:57 +01:00

FIx bedrock patterns ()

This commit is contained in:
19MisterX98 2022-10-16 00:34:10 +02:00
parent 11281d0789
commit a35758c72d

View file

@ -62,7 +62,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ return false;
+ } else {
+ double d = net.minecraft.util.Mth.map((double) y, (double) i, (double) j, 1.0D, 0.0D);
+ net.minecraft.util.RandomSource randomSource = positionalRandomFactory.at(this.context.blockX, i, this.context.blockZ);
+ net.minecraft.util.RandomSource randomSource = positionalRandomFactory.at(this.context.blockX, y, this.context.blockZ);
+ return (double) randomSource.nextFloat() < d;
+ }
+ }