Fix villages generating to high when using a cusom sea level. Closes #3050
This commit is contained in:
parent
a9e4516068
commit
cb2b0febeb
|
@ -40,7 +40,7 @@
|
||||||
+
|
+
|
||||||
+ public int getMinimumSpawnHeight(World world)
|
+ 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)
|
+ public double getHorizon(World world)
|
||||||
|
|
Loading…
Reference in New Issue