Skip to content

Commit

Permalink
Add translation for pvp gamerule.
Browse files Browse the repository at this point in the history
Signed-off-by: Provismet <[email protected]>
  • Loading branch information
Provismet committed Jul 13, 2024
1 parent ae906c1 commit a3ce6f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/generated/assets/combat-plus-core/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"enchantment.combat-plus.logger": "Example Enchantment",
"gamerule.category.combat-plus": "Combat+",
"gamerule.keepLoyaltyTridents": "Keep Loyalty Tridents",
"gamerule.pvpEnchantmentModifier": "PvP Enchantment Modifier",
"gamerule.pvpEnchantmentModifier.description": "Modifies the effectiveness of certain damaging enchantments when used against players.",
"gamerule.sweepingRequiresEnchantment": "Sweeping Requires Enchantment",
"item.combat-plus.debugger": "Example Weapon",
"tag.enchantment.combat-plus.additional_damage": "Additional Damage Enchantments",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ public void generateTranslations (RegistryWrapper.WrapperLookup registryLookup,
translationBuilder.add("gamerule.category.combat-plus", "Combat+");
translationBuilder.add("gamerule.sweepingRequiresEnchantment", "Sweeping Requires Enchantment");
translationBuilder.add("gamerule.keepLoyaltyTridents", "Keep Loyalty Tridents");
translationBuilder.add("gamerule.pvpEnchantmentModifier", "PvP Enchantment Modifier");
translationBuilder.add("gamerule.pvpEnchantmentModifier.description", "Modifies the effectiveness of certain damaging enchantments when used against players.");

translationBuilder.add(CPCItemTags.MELEE_WEAPON, "Melee Weapons");
translationBuilder.add(CPCItemTags.DUAL_WEAPON, "Dual Weapons");
Expand Down

0 comments on commit a3ce6f6

Please sign in to comment.