Fix villages generating to high when using a cusom sea level. Closes #3050

This commit is contained in:
LexManos 2016-06-30 01:11:35 -07:00
parent a9e4516068
commit cb2b0febeb
1 changed files with 1 additions and 1 deletions

View File

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