some among us

This commit is contained in:
Chayapak 2023-05-06 09:23:32 +07:00
parent 40f29978ea
commit 54c3c4add1

View file

@ -34,7 +34,7 @@ public class ChipmunkMod implements ModInitializer {
throw new RuntimeException("Could not load the config", exception); throw new RuntimeException("Could not load the config", exception);
} }
LOGGER.info("Hello Fabric world!"); LOGGER.info("Loaded ChipmunkMod (chayapak's fork)");
} }
private static Configuration loadConfig () throws IOException { private static Configuration loadConfig () throws IOException {
@ -44,7 +44,7 @@ public class ChipmunkMod implements ModInitializer {
final File file = CONFIG_FILE; final File file = CONFIG_FILE;
if (!file.exists()) { if (!file.exists()) {
InputStream is = ClassLoader.getSystemClassLoader().getResourceAsStream("assets/chipmunkmod/default_config.json"); InputStream is = ClassLoader.getSystemClassLoader().getResourceAsStream("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();