Compare commits

..

No commits in common. "4e1ed9f1eab7f69ec91cfa86b8d852d12b970690" and "685e046063be66361bc7666378af1d730b5f8c0b" have entirely different histories.

2 changed files with 3 additions and 2 deletions

View file

@ -124,6 +124,6 @@ jobs:
webhook-url: ${{ secrets.RELEASE_WEBHOOK_URL }}
content: |
<@&1525259349423947867>
# New bugfix for CustomAnvil v1 ! <:CustomAnvil:1262550667986342001> [Modrinth](https://modrinth.com/plugin/customanvil) and [GitHub](${{ github.event.release.html_url }}) links
# New bugfix for CustomAnvil v1 ! <:CustomAnvil:1262550667986342001> [Modrinth](https://modrinth.com/plugin/customanvil) and [GitHub](${{ github.event.release.html_url }}) links)
${{ github.event.release.body }}

View file

@ -99,7 +99,8 @@ public class CAEnchantmentRegistry {
if ((!hasWarnedRegistering) && byNameMap.containsKey(enchantment.getName())) {
hasWarnedRegistering = true;
CustomAnvil.Companion.log("Duplicate registered enchantment name. Please check that configuration is using namespace.");
CustomAnvil.instance.getLogger().log(Level.WARNING,
"Duplicate registered enchantment name. Please check that configuration is using namespace.");
}
byKeyMap.put(enchantment.getKey(), enchantment);