From a15be74be370a3149691fa8841edcdad1da3afc4 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sun, 27 Oct 2024 07:33:54 +1100 Subject: [PATCH] SPIGOT-7929: Error when setting EquippableComponent By: md_5 --- .../java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java index a2f2201a34..325fd58aaa 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java @@ -1538,7 +1538,7 @@ class CraftMetaItem implements ItemMeta, Damageable, Repairable, BlockDataMeta { @Override public void setEquippable(EquippableComponent equippable) { - this.equippable = (equippable == null) ? null : new CraftEquippableComponent((CraftEquippableComponent) this.equippable); + this.equippable = (equippable == null) ? null : new CraftEquippableComponent((CraftEquippableComponent) equippable); } @Override