Skip to content

Commit

Permalink
Update BlockMixin.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mdenials authored Nov 12, 2023
1 parent c882cb7 commit 2a9260b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/net/wurstclient/mixin/BlockMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ private void onGetSlipperiness(CallbackInfoReturnable<Float> cir) {
if(hax == null || !hax.noFrictionHack.isEnabled())
return;

if(cir.getReturnValueF() < 0.989F)
cir.setReturnValue(0.989F);
cir.setReturnValue((float)hax.noFrictionHack.friction.getValue());
}
}

0 comments on commit 2a9260b

Please sign in to comment.