Skip to content

Commit

Permalink
Update MixinNetHandlerPlayServer.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyfts authored Jul 26, 2024
1 parent c636242 commit 99021b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public abstract class MixinNetHandlerPlayServer {
value = "INVOKE",
target = "Lnet/minecraft/network/play/client/C09PacketHeldItemChange;func_149614_c()I",
ordinal = 1))
private int backhand$isValidIventorySlot(int original) {
private int backhand$isValidInventorySlot(int original) {
// return a valid int e.g. between 0 and < 9
return InventoryPlayerBackhand.isValidSwitch(original) ? 0 : -1;
}
Expand Down

0 comments on commit 99021b1

Please sign in to comment.