Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
remap=false
Browse files Browse the repository at this point in the history
  • Loading branch information
andantet committed Sep 24, 2024
1 parent e673b1a commit e954eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/mcbrawls/sgui/mixin/HotbarGuiMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void afterOpen() {
setSelectedSlot(player.getInventory().selectedSlot);
}

@Inject(method = "onSelectedSlotChange", at = @At("HEAD"), cancellable = true)
@Inject(method = "onSelectedSlotChange", at = @At("HEAD"), cancellable = true, remap = false)
private void onSelectedSlotChange(int slot, CallbackInfoReturnable<Boolean> cir) {
setSelectedSlot(slot);
player.getInventory().selectedSlot = slot;
Expand Down

0 comments on commit e954eae

Please sign in to comment.