mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-27 00:23:01 +00:00
Support 1.19.1. Remove Vanilla 1.19. (#218)
This commit is contained in:
1 parent
02b24229f3
commit
46b8635e10
21 files changed
+103
-73
No files matched your search
@@ -117,7 +117,7 @@ public class Config {
|
||||
try {
|
||||
CustomSkinLoader.logger.info("Try to load config.");
|
||||
String json=FileUtils.readFileToString(CustomSkinLoader.CONFIG_FILE, "UTF-8");
|
||||
Config config=CustomSkinLoader.GSON.fromJson(json, Config.class);
|
||||
Config config=Objects.requireNonNull(CustomSkinLoader.GSON.fromJson(json, Config.class));
|
||||
CustomSkinLoader.logger.info("Successfully load config.");
|
||||
return config;
|
||||
}catch (Exception e) {
|
||||
|
||||
Reference in new issue
Block a user