Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mcp/sharose/mods/guiapi/GuiAPIDummyCoreMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import cpw.mods.fml.relauncher.IFMLLoadingPlugin;

@IFMLLoadingPlugin.MCVersion("1.5.1")
@IFMLLoadingPlugin.MCVersion("1.6.2")
public class GuiAPIDummyCoreMod implements IFMLLoadingPlugin {
@Override
public String[] getLibraryRequestClass() {
Expand Down
4 changes: 2 additions & 2 deletions mcp/sharose/mods/guiapi/ModSettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ public static void dbgout(String s) {
*/
public static File getAppDir(String app) {
try {
return new File(Minecraft.getMinecraftDir(), app)
return new File(Minecraft.getMinecraft().mcDataDir, app)
.getCanonicalFile(); // Attempt to clean it up a bit.
} catch (IOException e) {
// If it can't be cleaned for whatever reason, just return the
// 'unclean' path. Normally I would just add throws, but that might
// break other mods.
return new File(Minecraft.getMinecraftDir(), app);
return new File(Minecraft.getMinecraft().mcDataDir, app);
}
}

Expand Down