#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

@@ -5,6 +5,7 @@ import com.google.common.collect.Lists;
import org.bukkit.Keyed;
import org.bukkit.NamespacedKey;
import org.bukkit.Registry;
import org.bukkit.Translatable;
import org.bukkit.inventory.ItemStack;
import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;
@@ -13,7 +14,7 @@ import org.jetbrains.annotations.Nullable;
/**
* The various type of enchantments that may be added to armour or weapons
*/
public abstract class Enchantment implements Keyed {
public abstract class Enchantment implements Keyed, Translatable {
/**
* Provides protection against environmental damage
*/