Merge pull request #521 from ProgrammerHero/master
Fixed a bug that prevented proper lava generation near bedrock
This commit is contained in:
commit
4bd7d4f3d9
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue