Damageable should extend ItemMeta

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2021-08-16 15:36:45 +10:00
parent c255eb3333
commit 923e0e64b5

View File

@ -5,7 +5,7 @@ import org.jetbrains.annotations.NotNull;
/**
* Represents an item that has durability and can take damage.
*/
public interface Damageable {
public interface Damageable extends ItemMeta {
/**
* Checks to see if this item has damage
@ -29,5 +29,6 @@ public interface Damageable {
void setDamage(int damage);
@NotNull
@Override
Damageable clone();
}