Skip to content

Commit

Permalink
Moved path to be compatible with Minecraft launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
timg-razer committed Aug 13, 2020
1 parent 4c79b1b commit 1a3944e
Show file tree
Hide file tree
Showing 208 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/main/java/com/example/examplemod/ChromaEffects.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class ChromaEffects {
protected static String getAnimationPath() {
String cd = System.getProperty("user.dir");
//System.out.println("********* getAnimationPath: cd="+cd);
String path = cd + "\\..\\src\\main\\resources\\Animations\\";
String path = cd + "\\mods\\MinecraftChromaMod\\Animations\\";
//System.out.println("********* getAnimationPath: path="+path);
return path;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ public void run() {
showEffect4Headset();
showEffect4Mousepad();
showEffect4Mouse();
showEffect4Keypad();
showEffect4Keypad();
}
}
};
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/razer/java/JChromaSDK.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ private JChromaSDK() {
}
String cd = System.getProperty("user.dir");
//System.out.println("********* JChromaSDK: cd="+cd);
String path = cd + "\\..\\src\\main\\resources\\";
String path = cd + "\\mods\\MinecraftChromaMod";
//System.out.println("********* JChromaSDK: path="+path);
String fullPath = path + "\\" + libName;
//System.out.println("********* JChromaSDK: fullPath="+fullPath);
Expand Down

0 comments on commit 1a3944e

Please sign in to comment.