Skip to content

Commit

Permalink
Merge branch 'master' into Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dream-Master authored Nov 7, 2024
2 parents 19f695e + 4db45f9 commit 1120645
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ protected Item getDropItem() {

public void setDead() {
final int i = this.getSlimeSize();
if (!this.worldObj.isRemote && i > 1) {
if (!this.worldObj.isRemote && i > 1 && this.getHealth() <= 0.0f) {
for (int j = 2 + this.rand.nextInt(3), k = 0; k < j; ++k) {
final float f = (k % 2 - 0.5f) * i / 4.0f;
final float f2 = (k / 2 - 0.5f) * i / 4.0f;
Expand Down

0 comments on commit 1120645

Please sign in to comment.