finally fix default config issue (mabe)
i didn't test it but blackilykat found the fix ig
This commit is contained in:
parent
3530238408
commit
2d60606de3
2 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ public class ChipmunkMod implements ModInitializer {
|
|||
final File file = CONFIG_FILE;
|
||||
|
||||
if (!file.exists()) {
|
||||
InputStream is = ClassLoader.getSystemClassLoader().getResourceAsStream("default_config.json");
|
||||
InputStream is = ChipmunkMod.class.getClassLoader().getResourceAsStream("default_config.json");
|
||||
BufferedReader reader = new BufferedReader(new InputStreamReader(is));
|
||||
|
||||
final StringBuilder sb = new StringBuilder();
|
||||
|
|
Loading…
Reference in a new issue