#979: Add more translation keys

By: Miles Holder <mwholder2005@gmail.com>
This commit is contained in:
Bukkit/Spigot
2024-03-17 10:26:51 +11:00
parent 016f4cc0da
commit 6ba05011fa
6 changed files with 19 additions and 5 deletions

View File

@@ -8,6 +8,7 @@ import org.bukkit.Color;
import org.bukkit.Keyed;
import org.bukkit.NamespacedKey;
import org.bukkit.Registry;
import org.bukkit.Translatable;
import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -15,7 +16,7 @@ import org.jetbrains.annotations.Nullable;
/**
* Represents a type of potion and its effect on an entity.
*/
public abstract class PotionEffectType implements Keyed {
public abstract class PotionEffectType implements Keyed, Translatable {
private static final BiMap<Integer, PotionEffectType> ID_MAP = HashBiMap.create();
/**