#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

@@ -108,6 +108,12 @@ public class CraftPotionEffectType extends PotionEffectType implements Handleabl
return Color.fromRGB(handle.getColor());
}
@NotNull
@Override
public String getTranslationKey() {
return handle.getDescriptionId();
}
@Override
public boolean equals(Object other) {
if (this == other) {