Skip to content

Commit

Permalink
thats not what the method should be named
Browse files Browse the repository at this point in the history
  • Loading branch information
WaitingIdly committed Jun 15, 2024
1 parent 153ce29 commit bc2498c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public abstract class UTInventoryPlayerMixin
public int currentItem;

@Inject(method = "changeCurrentItem", at = @At("HEAD"), cancellable = true)
private void utDefaultDifficultyMP(int direction, CallbackInfo ci)
private void utCancelOnRollover(int direction, CallbackInfo ci)
{
if (!UTConfigTweaks.MISC.utDisableHotbarScrollWrapping) return;
int target = currentItem - (int) Math.signum(direction);
Expand Down

0 comments on commit bc2498c

Please sign in to comment.