mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 20:22:36 +00:00
1 parent
7a3855fb3c
commit
5bc7f62b5a
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