mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 08:00:02 +03:00
12 lines
630 B
Diff
12 lines
630 B
Diff
--- ../src-base/minecraft/net/minecraft/world/gen/structure/StructureOceanMonument.java
|
|
+++ ../src-work/minecraft/net/minecraft/world/gen/structure/StructureOceanMonument.java
|
|
@@ -72,7 +72,7 @@
|
|
|
|
int k = chunkX / this.spacing;
|
|
int l = chunkZ / this.spacing;
|
|
- Random random = this.world.setRandomSeed(k, l, 10387313);
|
|
+ Random random = this.world.setRandomSeed(k, l, this.world.spigotConfig.monumentSeed); // Spigot
|
|
k = k * this.spacing;
|
|
l = l * this.spacing;
|
|
k = k + (random.nextInt(this.spacing - this.separation) + random.nextInt(this.spacing - this.separation)) / 2;
|