mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-31 21:37:39 +01:00
Damageable should extend ItemMeta
By: md_5 <git@md-5.net>
This commit is contained in:
parent
c255eb3333
commit
923e0e64b5
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user