From e377e97b6685b640208819dfcb8106ede6289f9c Mon Sep 17 00:00:00 2001 From: QPCrummer <66036033+QPCrummer@users.noreply.github.com> Date: Fri, 10 May 2024 19:45:58 -0400 Subject: [PATCH] Fix Hopper Mixin --- .../tatercertified/hopperspeedsimulator/mixins/HopperMixin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/github/tatercertified/hopperspeedsimulator/mixins/HopperMixin.java b/src/main/java/com/github/tatercertified/hopperspeedsimulator/mixins/HopperMixin.java index f26f002..b991db8 100644 --- a/src/main/java/com/github/tatercertified/hopperspeedsimulator/mixins/HopperMixin.java +++ b/src/main/java/com/github/tatercertified/hopperspeedsimulator/mixins/HopperMixin.java @@ -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; }