From 923e0e64b5b47034657ea513c916d95addd63eb7 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Mon, 16 Aug 2021 15:36:45 +1000 Subject: [PATCH] Damageable should extend ItemMeta By: md_5 --- .../src/main/java/org/bukkit/inventory/meta/Damageable.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/inventory/meta/Damageable.java b/paper-api/src/main/java/org/bukkit/inventory/meta/Damageable.java index 6392362b98..61ae4cba01 100644 --- a/paper-api/src/main/java/org/bukkit/inventory/meta/Damageable.java +++ b/paper-api/src/main/java/org/bukkit/inventory/meta/Damageable.java @@ -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(); }