mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-12 08:17:32 +00:00
add obs check
This commit is contained in:
1 parent
69418714dd
commit
b6e7a2f570
1 file changed
+1
-1
@@ -84,7 +84,7 @@ public class CraftingCpuTransformer extends FCClassTransformer.ClassMapper {
|
||||
}
|
||||
}
|
||||
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",
|
||||
|
||||
Reference in new issue
Block a user