diff --git a/paper-api/src/main/java/org/bukkit/inventory/ItemStack.java b/paper-api/src/main/java/org/bukkit/inventory/ItemStack.java index c730db62a2..df51a20e81 100644 --- a/paper-api/src/main/java/org/bukkit/inventory/ItemStack.java +++ b/paper-api/src/main/java/org/bukkit/inventory/ItemStack.java @@ -360,7 +360,7 @@ public class ItemStack implements ConfigurationSerializable { int amount = 1; if (args.containsKey("damage")) { - damage = (Short) args.get("damage"); + damage = ((Number) args.get("damage")).shortValue(); } if (args.containsKey("amount")) {