mirror of
https://github.com/CarmJos/MineConfiguration.git
synced 2026-06-04 13:55:03 +08:00
chore(update): 适配上游版本更新。
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ public class ConfiguredSerializable<T extends ConfigurationSerializable> extends
|
||||
} catch (Exception e) {
|
||||
// 出现了解析错误,提示并返回默认值。
|
||||
e.printStackTrace();
|
||||
return useDefault();
|
||||
return getDefaultValue();
|
||||
}
|
||||
} else return Optional.ofNullable(getCachedValue()).orElse(defaultValue);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user