Skip to content

Commit

Permalink
Fix Fishing Rod Usage
Browse files Browse the repository at this point in the history
  • Loading branch information
lowercasebtw committed Dec 2, 2024
1 parent 5d51aef commit 80a7d24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public abstract class MixinFishingRodItem {
@Inject(method = "use", at = @At("RETURN"))
private void swingHand(World world, PlayerEntity user, Hand hand, CallbackInfoReturnable<ActionResult> cir) {
if (ProtocolTranslator.getTargetVersion().olderThanOrEqualTo(ProtocolVersion.v1_14_4)) {
user.swingHand(hand);
user.swingHand(hand, false);
}
}

Expand Down

0 comments on commit 80a7d24

Please sign in to comment.