diff --git a/src/main/java/land/chipmunk/chipmunkmod/ChipmunkMod.java b/src/main/java/land/chipmunk/chipmunkmod/ChipmunkMod.java index ab8ee0e..e0cb63f 100644 --- a/src/main/java/land/chipmunk/chipmunkmod/ChipmunkMod.java +++ b/src/main/java/land/chipmunk/chipmunkmod/ChipmunkMod.java @@ -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(); diff --git a/src/main/resources/assets/chipmunkmod/default_config.json b/src/main/resources/default_config.json similarity index 100% rename from src/main/resources/assets/chipmunkmod/default_config.json rename to src/main/resources/default_config.json