forked from ChomeNS/chipmunkmod
will moving to assets fix it?
This commit is contained in:
parent
5ebde826ba
commit
16b8582732
4 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ public class ChipmunkMod implements ModInitializer {
|
||||||
final File file = new File("config/chipmunkmod.json");
|
final File file = new File("config/chipmunkmod.json");
|
||||||
|
|
||||||
if (!file.exists()) {
|
if (!file.exists()) {
|
||||||
InputStream is = ClassLoader.getSystemClassLoader().getResourceAsStream("default_config.json");
|
InputStream is = ClassLoader.getSystemClassLoader().getResourceAsStream("assets/chipmunkmod/default_config.json");
|
||||||
BufferedReader reader = new BufferedReader(new InputStreamReader(is));
|
BufferedReader reader = new BufferedReader(new InputStreamReader(is));
|
||||||
|
|
||||||
final StringBuilder sb = new StringBuilder();
|
final StringBuilder sb = new StringBuilder();
|
||||||
|
|
Before Width: | Height: | Size: 453 B After Width: | Height: | Size: 453 B |
|
@ -15,7 +15,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
"license": "CC0-1.0",
|
"license": "CC0-1.0",
|
||||||
"icon": "assets/modid/icon.png",
|
"icon": "assets/chipmunkmod/icon.png",
|
||||||
|
|
||||||
"environment": "*",
|
"environment": "*",
|
||||||
"entrypoints": {
|
"entrypoints": {
|
||||||
|
|
Loading…
Reference in a new issue