Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #135 from cattyngmd/offhand-patch
Browse files Browse the repository at this point in the history
Offhand small bug fix
  • Loading branch information
3arthqu4ke authored Aug 23, 2022
2 parents 3d790c8 + 6fbc0e3 commit d7d8113
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ public void doOffhand()
|| mc.player.getHeldItemOffhand().getItem() ==
Items.TOTEM_OF_UNDYING))
{
if (Mouse.isButtonDown(1) && OffhandMode.TOTEM.equals(mode))
if (Mouse.isButtonDown(1)
&& OffhandMode.TOTEM.equals(mode)
&& mc.currentScreen == null)
{
this.mode = OffhandMode.GAPPLE;
swordGapped = true;
Expand Down

0 comments on commit d7d8113

Please sign in to comment.