Skip to content

Commit

Permalink
such . very much not _
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbudda committed Sep 23, 2017
1 parent 8de4e5e commit 24a8eaf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion installer/Installer.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class Installer extends JPanel implements PropertyChangeListener
private static final String MC_MD5 = "8c0443868b9e46c77d39db61c755679d";
private static final String OF_LIB_PATH = "libraries/optifine/OptiFine/";
private static final String OF_FILE_NAME = "1.12.2_HD_U_C5";
private static final String OF_JSON_NAME = "1.12.2.HD_U_C5";
private static final String OF_JSON_NAME = "1.12.2_HD_U_C5";
private static final String OF_MD5 = "e67fa3489563f55329d1d88ccffa9c9d";
private static final String OF_VERSION_EXT = ".jar";
private static final String FORGE_VERSION = "14.23.0.2489";
Expand Down
2 changes: 1 addition & 1 deletion minecriftversion.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mc_version = "1.12.2"
mc_file_md5 = "8c0443868b9e46c77d39db61c755679d"
of_file_name = "1.12.2_HD_U_C5"
of_json_name = "1.12.2.HD_U_C5"
of_json_name = "1.12.2_HD_U_C5"
of_file_md5 = "e67fa3489563f55329d1d88ccffa9c9d"
minecrift_version_num = "1.12.2"
minecrift_build = "jrbudda-4"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void patchMethod(MethodNode methodNode, ClassNode classNode, boolean obfu
MethodInsnNode insn = (MethodInsnNode)ASMUtil.findFirstInstruction(methodNode, Opcodes.INVOKESTATIC, "org/lwjgl/input/Mouse", "isButtonDown", "(I)Z", false);
insn.owner = "com/mtbs3d/minecrift/utils/ASMDelegator";
insn.name = "containerCreativeMouseDown";
insn.desc = "()Z";
insn.desc = "(I)Z";
System.out.println("Redirected method call to delegator");
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/com/mtbs3d/minecrift/utils/ASMDelegator.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import org.lwjgl.input.Mouse;

public class ASMDelegator {
public static boolean containerCreativeMouseDown() {
public static boolean containerCreativeMouseDown(int eatTheStack) {
return Mouse.isButtonDown(0) || GuiScreen.mouseDown;
}

Expand Down

0 comments on commit 24a8eaf

Please sign in to comment.