Skip to content

Commit

Permalink
Fix blue slime spawn (#146)
Browse files Browse the repository at this point in the history
(cherry picked from commit e05fffa)
  • Loading branch information
paulzzh authored and Dream-Master committed Feb 23, 2025
1 parent 7a3855f commit 5bc7f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/tconstruct/blocks/slime/SlimeFluid.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public IIcon getIcon(int side, int meta) {
@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;
Expand Down

0 comments on commit 5bc7f62

Please sign in to comment.