@@ -164,18 +195,12 @@ public final class Grasscutter {
// If the file already exists, we attempt to load it.
try(FileReaderfile=newFileReader(configFile)){
config=gson.fromJson(file,ConfigContainer.class);
}
catch(Exceptionexception){
}catch(Exceptionexception){
getLogger().error("There was an error while trying to load the configuration from config.json. Please make sure that there are no syntax errors. If you want to start with a default configuration, delete your existing config.json.");
httpServer.raw().config.precompressStaticFiles=false;// If this isn't set to false, files such as images may appear corrupted when serving static files