mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 08:00:02 +03:00
12 lines
547 B
Diff
12 lines
547 B
Diff
--- ../src-base/minecraft/net/minecraft/world/gen/structure/MapGenVillage.java
|
|
+++ ../src-work/minecraft/net/minecraft/world/gen/structure/MapGenVillage.java
|
|
@@ -64,7 +64,7 @@
|
|
|
|
int k = chunkX / this.distance;
|
|
int l = chunkZ / this.distance;
|
|
- Random random = this.world.setRandomSeed(k, l, 10387312);
|
|
+ Random random = this.world.setRandomSeed(k, l, this.world.spigotConfig.villageSeed); // Spigot
|
|
k = k * this.distance;
|
|
l = l * this.distance;
|
|
k = k + random.nextInt(this.distance - 8);
|