mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 02:22:12 +01:00
Damageable should extend ItemMeta
By: md_5 <git@md-5.net>
This commit is contained in:
parent
c255eb3333
commit
923e0e64b5
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
/**
|
/**
|
||||||
* Represents an item that has durability and can take damage.
|
* 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
|
* Checks to see if this item has damage
|
||||||
|
@ -29,5 +29,6 @@ public interface Damageable {
|
||||||
void setDamage(int damage);
|
void setDamage(int damage);
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
|
@Override
|
||||||
Damageable clone();
|
Damageable clone();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue