mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-09-18 21:54:50 +00:00
SPIGOT-7929: Error when setting EquippableComponent
This commit is contained in:
parent
abbf57bac9
commit
3eaf3a13c7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue