Fixed missing assignment of constructor arg (thanks @Lunatrius)

I must have edited this out when I was cleaning up my formatting commit spam.
This commit is contained in:
bspkrs 2014-07-15 09:47:01 -04:00
parent e2fe13bd17
commit e35755c3e3
1 changed files with 2 additions and 1 deletions

View File

@ -93,6 +93,7 @@ public class Configuration
public Configuration(File file, String configVersion)
{
this.file = file;
this.definedConfigVersion = configVersion;
String basePath = ((File)(FMLInjectionData.data()[6])).getAbsolutePath().replace(File.separatorChar, '/').replace("/.", "");
String path = file.getAbsolutePath().replace(File.separatorChar, '/').replace("/./", "/").replace(basePath, "");
if (PARENT != null)
@ -1719,4 +1720,4 @@ public class Configuration
{
return file;
}
}
}