mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-08-28 08:25:56 +02:00
Duplicate registered enchantment name warning as debug log
This commit is contained in:
parent
ab47a9df93
commit
16375af3bd
1 changed files with 1 additions and 2 deletions
|
|
@ -99,8 +99,7 @@ public class CAEnchantmentRegistry {
|
|||
if ((!hasWarnedRegistering) && byNameMap.containsKey(enchantment.getName())) {
|
||||
hasWarnedRegistering = true;
|
||||
|
||||
CustomAnvil.instance.getLogger().log(Level.WARNING,
|
||||
"Duplicate registered enchantment name. Please check that configuration is using namespace.");
|
||||
CustomAnvil.Companion.log("Duplicate registered enchantment name. Please check that configuration is using namespace.");
|
||||
}
|
||||
|
||||
byKeyMap.put(enchantment.getKey(), enchantment);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue