Skip to content

Commit

Permalink
Update RapierItem.java
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagodefendi committed Dec 11, 2024
1 parent 82f8df6 commit 678cae3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public InteractionResultHolder<ItemStack> use(Level pLevel, Player pPlayer, Inte
);

if(!pPlayer.getBlockStateOn().isAir()) {
pPlayer.addDeltaMovement(Vec3.ZERO.add(0, 1.0/3,0));
pPlayer.addDeltaMovement(Vec3.ZERO.add(0, (double) 1/3,0));
}

return InteractionResultHolder.consume(itemstack);
Expand Down

0 comments on commit 678cae3

Please sign in to comment.