Skip to content

Commit

Permalink
refac 6
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsterner committed Jun 2, 2024
1 parent 99b50a0 commit 573d2f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/generated/resources/assets/lodestone/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"options.lodestone.attribute.name.lodestone.magic_damage": "Magic Damage",
"options.lodestone.attribute.name.lodestone.magic_proficiency": "Magic Proficiency",
"options.lodestone.attribute.name.lodestone.magic_resistance": "Magic Resistance",
"attribute.name.lodestone.magic_damage": "Magic Damage",
"attribute.name.lodestone.magic_proficiency": "Magic Proficiency",
"attribute.name.lodestone.magic_resistance": "Magic Resistance",
"options.lodestone.command.lodestone.devsetup": "World setup for not-annoying development work",
"options.lodestone.command.lodestone.screenshake": "Command Successful, enjoy your screenshake.",
"options.lodestone.fire_offset": "Fire Overlay Offset",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void generateTranslations(TranslationBuilder builder) {

attributes.forEach(a -> {
String name = DataHelper.toTitleCase(a.getId().getPath(), "_");
addOption(builder,"attribute.name.lodestone." + a.getId().getPath(), name);
builder.add("attribute.name.lodestone." + a.getId().getPath(), name);
});
addOption(builder,"screenshake_intensity", "Screenshake Intensity");
addOptionTooltip(builder, "screenshake_intensity", "Controls how much screenshake is applied to your screen.");
Expand Down

0 comments on commit 573d2f9

Please sign in to comment.