Forgot that bit :/

This commit is contained in:
Electroblob77
2020-07-30 21:54:55 +01:00
parent 09cc0a5c34
commit 041f54352c
3 changed files with 5 additions and 3 deletions
@@ -1096,7 +1096,7 @@ public final class Settings {
List<String> elementNames = Arrays.stream(Element.values()).map(Element::getName).collect(Collectors.toList());
elementNames.add("");
property = config.get(CLIENT_CATEGORY, "donationPerkElement", Element.MAGIC.getName(), "The element colour to use for the flying companion orb rendered on donor players, leave empty to disable the effect. If you're someone who was kind enough to donate, this setting will change what all players see (if not, it won't do anything).", elementNames.toArray(new String[0]));
property = config.get(CLIENT_CATEGORY, "donationPerkElement", Element.MAGIC.getName(), "The element of the flying companion orb rendered on donor and contributor players, leave empty to disable the effect. If you're one of them, this setting will change how all players see you (if not, it won't do anything).", elementNames.toArray(new String[0]));
property.setLanguageKey("config." + Wizardry.MODID + ".donation_perk_element");
donationPerkElement = Element.fromName(property.getString(), null); // Fallback to null for no element
propOrder.add(property.getName());
@@ -1505,6 +1505,8 @@ config.ebwizardry.blink_effect=Blink Effect
config.ebwizardry.blink_effect.tooltip=Whether to use the screen blink effect for teleportation spells.
config.ebwizardry.spellcasting_animations=Spellcasting Animations
config.ebwizardry.spellcasting_animations.tooltip=Whether to use custom animations for players casting spells. Disable this option if it conflicts with other mods that add player animations.
config.ebwizardry.donation_perk_element=Donation Perk Element
config.ebwizardry.donation_perk_element.tooltip=The element of the flying companion orb rendered on donor and contributor players, leave empty to disable the effect. If you're one of them, this setting will change how all players see you (if not, it won't do anything).
config.ebwizardry.category.commands=Command Settings
config.ebwizardry.category.commands.tooltip=Configure wizardry's commands
@@ -1505,8 +1505,8 @@ config.ebwizardry.blink_effect=Blink Effect
config.ebwizardry.blink_effect.tooltip=Whether to use the screen blink effect for teleportation spells.
config.ebwizardry.spellcasting_animations=Spellcasting Animations
config.ebwizardry.spellcasting_animations.tooltip=Whether to use custom animations for players casting spells. Disable this option if it conflicts with other mods that add player animations.
config.ebwizardry.spellcasting_animations=Spellcasting Animations
config.ebwizardry.spellcasting_animations.tooltip=Whether to use custom animations for players casting spells. Disable this option if it conflicts with other mods that add player animations.
config.ebwizardry.donation_perk_element=Donation Perk Element
config.ebwizardry.donation_perk_element.tooltip=The element of the flying companion orb rendered on donor and contributor players, leave empty to disable the effect. If you're one of them, this setting will change how all players see you (if not, it won't do anything).
config.ebwizardry.category.commands=Command Settings
config.ebwizardry.category.commands.tooltip=Configure wizardry's commands