Skip to content

Commit

Permalink
Fix Mixin log warning about max shift limit (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
ALongStringOfNumbers authored Sep 11, 2024
1 parent 3f4c858 commit 023e4e4
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,9 @@ public abstract class MixinInventoryPlayer implements IInventoryPlayerBattle {
@Inject(
method = "readFromNBT",
at = @At(
value = "INVOKE",
value = "INVOKE_ASSIGN",
target = "Lnet/minecraft/item/ItemStack;loadItemStackFromNBT(Lnet/minecraft/nbt/NBTTagCompound;)Lnet/minecraft/item/ItemStack;",
shift = At.Shift.BY,
by = 2),
shift = At.Shift.AFTER),
locals = LocalCapture.CAPTURE_FAILHARD)
private void battlegear2$readFromNBT$setItems(NBTTagList p_70443_1_, CallbackInfo ci, int i,
NBTTagCompound nbttagcompound, int j, ItemStack stack) {
Expand Down

0 comments on commit 023e4e4

Please sign in to comment.