Make spell enabled default to true, fixes the none spell displaying the disabled in config message
This commit is contained in:
@@ -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!
|
// Uses the same config key as the spell name, because - well, that's what it's called!
|
||||||
property.setLanguageKey("spell." + spell.getUnlocalisedName());
|
property.setLanguageKey("spell." + spell.getUnlocalisedName());
|
||||||
Wizardry.proxy.setToNamedBooleanEntry(property);
|
Wizardry.proxy.setToNamedBooleanEntry(property);
|
||||||
spell.setEnabled(property.getBoolean());
|
spell.setEnabled(property.getBoolean(true));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user