Skip to content

Commit

Permalink
Fix isInterface coremod method call flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Su5eD committed Sep 25, 2023
1 parent 7802dd6 commit 0e6cb7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function initializeCoreMod() {
new VarInsnNode(Opcodes.ALOAD, 4),
new VarInsnNode(Opcodes.ALOAD, 5),
new VarInsnNode(Opcodes.ALOAD, 6),
new MethodInsnNode(Opcodes.INVOKESPECIAL, 'net/fabricmc/fabric/api/block/v1/FabricBlock', 'getAppearance', getAppearanceDesc),
new MethodInsnNode(Opcodes.INVOKESPECIAL, 'net/fabricmc/fabric/api/block/v1/FabricBlock', 'getAppearance', getAppearanceDesc, true),
new InsnNode(Opcodes.ARETURN)
);
node.instructions.insert(list);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function initializeCoreMod() {
new VarInsnNode(Opcodes.ALOAD, 3),
new VarInsnNode(Opcodes.ALOAD, 4),
new VarInsnNode(Opcodes.ALOAD, 5),
new MethodInsnNode(Opcodes.INVOKESPECIAL, 'net/fabricmc/fabric/api/block/v1/FabricBlockState', 'getAppearance', getAppearanceDesc),
new MethodInsnNode(Opcodes.INVOKESPECIAL, 'net/fabricmc/fabric/api/block/v1/FabricBlockState', 'getAppearance', getAppearanceDesc, true),
new InsnNode(Opcodes.ARETURN)
);
node.instructions.insert(list);
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ fabric-client-tags-api-v1-version=1.1.1
loom.platform=forge
forge_version=1.20.1-47.1.3
pack_format=15
forgified_version=1.9.19
forgified_version=1.9.20
forge_fabric_loader_version=2.3.4+0.14.21+1.20.1

0 comments on commit 0e6cb7f

Please sign in to comment.