mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-14 01:04:24 +00:00
Fix villages generating to high when using a cusom sea level. Closes #3050
This commit is contained in:
1 parent
a9e4516068
commit
cb2b0febeb
1 file changed
+1
-1
@@ -40,7 +40,7 @@
|
||||
+
|
||||
+ public int getMinimumSpawnHeight(World world)
|
||||
+ {
|
||||
+ return this == field_77138_c ? 4 : 64;
|
||||
+ return this == field_77138_c ? 4 : world.func_181545_F() + 1;
|
||||
+ }
|
||||
+
|
||||
+ public double getHorizon(World world)
|
||||
|
||||
Reference in new issue
Block a user