Skip to content

Commit

Permalink
Merge pull request #19 from GTNewHorizons/packet
Browse files Browse the repository at this point in the history
add obs check
  • Loading branch information
Dream-Master authored Sep 21, 2022
2 parents 6941871 + b6e7a2f commit a575e58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public void visitMethodInsn(int opcode, String owner, String name, String desc,
}
}
if (opcode == Opcodes.INVOKEVIRTUAL
&& owner.equals("net/minecraft/inventory/InventoryCrafting") && name.equals("getStackInSlot")) {
&& owner.equals("net/minecraft/inventory/InventoryCrafting") && (name.equals("getStackInSlot") || name.equals("func_70301_a"))) {
super.visitMethodInsn(Opcodes.INVOKESTATIC,
"com/glodblock/github/coremod/hooker/CoreModHooks",
"removeFluidPackets",
Expand Down

0 comments on commit a575e58

Please sign in to comment.