Skip to content

Commit

Permalink
Fix Hopper Mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
QPCrummer committed May 10, 2024
1 parent 163365f commit e377e97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ private static int inject2(int x) {
return Main.items;
}

@ModifyArg(method = "insert", at = @At(value = "INVOKE", target = "Lnet/minecraft/inventory/Inventory;removeStack(II)Lnet/minecraft/item/ItemStack;"), index = 1)
@ModifyArg(method = "insert", at = @At(value = "INVOKE", target = "Lnet/minecraft/block/entity/HopperBlockEntity;removeStack(II)Lnet/minecraft/item/ItemStack;"), index = 1)
private static int inject3(int x) {
return Main.items;
}
Expand Down

0 comments on commit e377e97

Please sign in to comment.