From cb2b0febeb967b0efe1662a0afbe6941f48dd043 Mon Sep 17 00:00:00 2001 From: LexManos Date: Thu, 30 Jun 2016 01:11:35 -0700 Subject: [PATCH] Fix villages generating to high when using a cusom sea level. Closes #3050 --- patches/minecraft/net/minecraft/world/WorldType.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/world/WorldType.java.patch b/patches/minecraft/net/minecraft/world/WorldType.java.patch index 3b7bcacb8..f38e093ce 100644 --- a/patches/minecraft/net/minecraft/world/WorldType.java.patch +++ b/patches/minecraft/net/minecraft/world/WorldType.java.patch @@ -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)