Skip to content

Commit

Permalink
Update 1.2.15
Browse files Browse the repository at this point in the history
  • Loading branch information
Fox2Code committed Sep 8, 2023
1 parent 0e202fe commit 3e14bc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private void patchNetClientHandler(ClassNode classNode) {
if (abstractInsnNode.getOpcode() == GETFIELD &&
((FieldInsnNode)abstractInsnNode).name.equals("currentContainer")) {
insnList.insertBefore(abstractInsnNode, new MethodInsnNode(INVOKESTATIC, classNode.name, "getNetworkContainer",
"(Lnet/minecraft/src/game/entity/player/EntityPlayer;)Lnet/minecraft/src/client/gui/Container;", true));
"(Lnet/minecraft/src/game/entity/player/EntityPlayer;)Lnet/minecraft/src/client/gui/Container;", false));
insnList.remove(abstractInsnNode);
}
}
Expand All @@ -79,7 +79,7 @@ private void patchNetClientHandler(ClassNode classNode) {
"currentContainer", "Lnet/minecraft/src/client/gui/Container;"));
getNetworkContainer.instructions.add(new MethodInsnNode(INVOKESTATIC,
"com/fox2code/foxloader/client/gui/ContainerWrapped", "getNetworkContainer",
"(Lnet/minecraft/src/client/gui/Container;)Lnet/minecraft/src/client/gui/Container;", false));
"(Lnet/minecraft/src/client/gui/Container;)Lnet/minecraft/src/client/gui/Container;", true));
getNetworkContainer.instructions.add(new VarInsnNode(ASTORE, 1));
getNetworkContainer.instructions.add(new VarInsnNode(ALOAD, 1));
LabelNode noFallback = new LabelNode();
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ org.gradle.parallel=true
org.gradle.jvmargs=-Xmx1024m -XX:-UseGCOverheadLimit -Dfile.encoding=UTF-8

# FoxLoader properties
foxloader.version=1.2.14
foxloader.lastReIndevTransformerChanges=1.2.14
foxloader.version=1.2.15
foxloader.lastReIndevTransformerChanges=1.2.15

# ReIndev properties
reindev.clientUrl=https://cdn.fox2code.com/files/reindev_2.8.1_04.jar
Expand Down

0 comments on commit 3e14bc9

Please sign in to comment.