|
@@ -48,8 +48,8 @@ function transform(method) {
|
|
|
var label = new LabelNode();
|
|
|
instrList.insert(instrList.get(6), new JumpInsnNode(Opcodes.IFEQ, label));
|
|
|
instrList.insert(instrList.get(7), new FieldInsnNode(Opcodes.GETSTATIC, "net/minecraft/item/ItemStack",
|
|
|
- "EMPTY",
|
|
|
+ "field_190927_a",
|
|
|
"Lnet/minecraft/item/ItemStack;"));
|
|
|
instrList.insert(instrList.get(8), new InsnNode(Opcodes.ARETURN));
|
|
|
instrList.insert(instrList.get(9), label);
|
|
|
-}
|
|
|
+}
|