mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
SPIGOT-7929: Error when setting EquippableComponent
By: md_5 <git@md-5.net>
This commit is contained in:
parent
2a202c520e
commit
a15be74be3
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…
Reference in a new issue