Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Commit

Permalink
Disable parts of HeldItemRendererFix, seems to fix #213
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Mar 27, 2020
1 parent 5ea4cd7 commit c9e0203
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public void fix(ClassNode optifine, ClassNode minecraft) {
insnList.add(new VarInsnNode(Opcodes.ALOAD, 4));
insnList.add(getInstList("net/optifine/shaders/Shaders", "isSkipRenderHand", String.format("(L%s;)Z", handName)));

oldNode.instructions.insertBefore(oldNode.instructions.getFirst(), insnList);
// oldNode.instructions.insertBefore(oldNode.instructions.getFirst(), insnList);

//Remove the old method
optifine.methods.removeIf(methodNode -> methodNode.name.equals(renderFirstPersonItemName));
Expand Down

0 comments on commit c9e0203

Please sign in to comment.