From add399284ba086457b52983ecb2c0f4007f99008 Mon Sep 17 00:00:00 2001 From: ProgrammerHero Date: Mon, 15 Apr 2013 10:14:16 -0300 Subject: [PATCH] fixed a bug that prevented proper lava generation near bedrock --- .../minecraft/net/minecraft/world/gen/MapGenCaves.java.patch | 4 ++-- .../minecraft/net/minecraft/world/gen/MapGenRavine.java.patch | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/patches/minecraft/net/minecraft/world/gen/MapGenCaves.java.patch b/patches/minecraft/net/minecraft/world/gen/MapGenCaves.java.patch index ace35eaa1..9bd334702 100644 --- a/patches/minecraft/net/minecraft/world/gen/MapGenCaves.java.patch +++ b/patches/minecraft/net/minecraft/world/gen/MapGenCaves.java.patch @@ -24,7 +24,7 @@ - byte b0 = par5ArrayOfByte[j4]; - - if (b0 == Block.grass.blockID) -+ if (isTopBlock(par5ArrayOfByte, j4, j3, k2, k3, par3, par4)) ++ if (isTopBlock(par5ArrayOfByte, j4, j3, k4, k3, par3, par4)) { flag3 = true; } @@ -45,7 +45,7 @@ - } - } - } -+ digBlock(par5ArrayOfByte, j4, j3, k2, k3, par3, par4, flag3); ++ digBlock(par5ArrayOfByte, j4, j3, k4, k3, par3, par4, flag3); } --j4; diff --git a/patches/minecraft/net/minecraft/world/gen/MapGenRavine.java.patch b/patches/minecraft/net/minecraft/world/gen/MapGenRavine.java.patch index f5baec4fb..12155325d 100644 --- a/patches/minecraft/net/minecraft/world/gen/MapGenRavine.java.patch +++ b/patches/minecraft/net/minecraft/world/gen/MapGenRavine.java.patch @@ -24,7 +24,7 @@ - byte b0 = par5ArrayOfByte[j4]; - - if (b0 == Block.grass.blockID) -+ if (isTopBlock(par5ArrayOfByte, j4, j3, k2, k3, par3, par4)) ++ if (isTopBlock(par5ArrayOfByte, j4, j3, k4, k3, par3, par4)) { flag2 = true; } @@ -45,7 +45,7 @@ - } - } - } -+ digBlock(par5ArrayOfByte, j4, j3, k2, k3, par3, par4, flag2); ++ digBlock(par5ArrayOfByte, j4, j3, k4, k3, par3, par4, flag2); } --j4;