mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
Fix blue slime spawn (#146)
This commit is contained in:
1 parent
95f6cab0be
commit
e05fffad60
1 file changed
+1
-1
@@ -48,7 +48,7 @@ public class SlimeFluid extends BlockFluidClassic {
|
||||
@Override
|
||||
public void updateTick(World world, int x, int y, int z, Random rand) {
|
||||
super.updateTick(world, x, y, z, rand);
|
||||
if (rand.nextInt(100) == 0 && world.getBlockMetadata(x, y, z) == 0
|
||||
if (rand.nextInt(100) == 0 && isSourceBlock(world, x, y, z)
|
||||
&& world.checkNoEntityCollision(
|
||||
AxisAlignedBB.getBoundingBox(x - 1, y - 1, z - 1, x + 2, y + 2, z + 2))) {
|
||||
SlimeBase slime;
|
||||
|
||||
Reference in new issue
Block a user