#1361: Add more translation keys

By: Miles Holder <mwholder2005@gmail.com>
This commit is contained in:
CraftBukkit/Spigot
2024-03-17 10:26:55 +11:00
parent d76a8e373b
commit 434aec3832
5 changed files with 30 additions and 0 deletions

View File

@@ -148,6 +148,11 @@ public class CraftEnchantment extends Enchantment implements Handleable<net.mine
return !handle.isCompatibleWith(ench.getHandle());
}
@Override
public String getTranslationKey() {
return handle.getDescriptionId();
}
@Override
public boolean equals(Object other) {
if (this == other) {