mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2024-11-14 10:45:23 +01:00
Fix console spam for not existing old keys
This commit is contained in:
parent
358ddf1b77
commit
7c1db6199e
@ -57,7 +57,7 @@ public static void updateConfig(YAML oldYAML, YAML newYAML)
|
||||
}
|
||||
try
|
||||
{
|
||||
newYAML.set(key, oldYAML.getString(oldKey));
|
||||
if(oldYAML.isSet(oldKey)) newYAML.set(key, oldYAML.getString(oldKey));
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user