mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-08-28 08:25:56 +02:00
Compare commits
No commits in common. "4e1ed9f1eab7f69ec91cfa86b8d852d12b970690" and "685e046063be66361bc7666378af1d730b5f8c0b" have entirely different histories.
4e1ed9f1ea
...
685e046063
2 changed files with 3 additions and 2 deletions
2
.github/workflows/gradle.yml
vendored
2
.github/workflows/gradle.yml
vendored
|
|
@ -124,6 +124,6 @@ jobs:
|
||||||
webhook-url: ${{ secrets.RELEASE_WEBHOOK_URL }}
|
webhook-url: ${{ secrets.RELEASE_WEBHOOK_URL }}
|
||||||
content: |
|
content: |
|
||||||
<@&1525259349423947867>
|
<@&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 }}
|
${{ github.event.release.body }}
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,8 @@ public class CAEnchantmentRegistry {
|
||||||
if ((!hasWarnedRegistering) && byNameMap.containsKey(enchantment.getName())) {
|
if ((!hasWarnedRegistering) && byNameMap.containsKey(enchantment.getName())) {
|
||||||
hasWarnedRegistering = true;
|
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);
|
byKeyMap.put(enchantment.getKey(), enchantment);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue