fix custom anvil not checking enchantment key name

version bump
This commit is contained in:
alexcrea 2026-02-04 17:37:39 +01:00
parent 58b2910350
commit 4dd7d6361b
Signed by: alexcrea
GPG key ID: E346CD16413450E3
2 changed files with 2 additions and 1 deletions

View file

@ -22,7 +22,7 @@ plugins {
}
group = "xyz.alexcrea"
version = "1.15.10"
version = "1.15.11"
val isDevBuild = System.getenv("SMALL_COMMIT_HASH") != null
val isPreRelease = System.getenv("IS_GITHUB_PRERELEASE") == "true"

View file

@ -34,6 +34,7 @@ public class CAEEV5Enchantment extends CABukkitEnchantment implements Additional
for (CAEnchantment caEnchantment : enchantments.keySet()) {
if (conflicts.contains(caEnchantment.getName())) return true;
if (conflicts.contains(caEnchantment.getKey().toString())) return true;
}
return false;