Files
CatServer/patches/net/minecraft/world/gen/structure/MapGenVillage.java.patch
2018-09-06 04:16:40 +08:00

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);