Skip to content

Commit

Permalink
Sapphires float to the ground
Browse files Browse the repository at this point in the history
  • Loading branch information
gryttr committed Jan 27, 2018
1 parent 71d7b89 commit d2f4505
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ else if (iblockstate1.getMaterial() == Material.LAVA && ((Integer)iblockstate1.g
this.luckTicks = 0;
}
this.luckTicks += 1;
if (!this.onGround && this.motionY < 0.0D) {
this.motionY *= 0.5D;
}
}
super.onLivingUpdate();
}
Expand Down

0 comments on commit d2f4505

Please sign in to comment.