Make spell enabled default to true, fixes the none spell displaying the disabled in config message

This commit is contained in:
Electroblob77
2020-09-14 15:12:57 +01:00
parent ebcfd3963d
commit 8690d406f3
@@ -520,7 +520,7 @@ public final class Settings {
// Uses the same config key as the spell name, because - well, that's what it's called!
property.setLanguageKey("spell." + spell.getUnlocalisedName());
Wizardry.proxy.setToNamedBooleanEntry(property);
spell.setEnabled(property.getBoolean());
spell.setEnabled(property.getBoolean(true));
}
}