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