mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-09-18 21:54:50 +00:00
SPIGOT-8031: ItemMeta#setBlocksAttacks always sets the BlocksAttacksComponent to null
This commit is contained in:
parent
20401f1c9f
commit
cc864ea9be
1 changed files with 1 additions and 1 deletions
|
@ -1625,7 +1625,7 @@ class CraftMetaItem implements ItemMeta, Damageable, Repairable, BlockDataMeta {
|
|||
|
||||
@Override
|
||||
public void setBlocksAttacks(BlocksAttacksComponent blocksAttacks) {
|
||||
this.blocksAttacks = (this.blocksAttacks == null) ? null : new CraftBlocksAttacksComponent((CraftBlocksAttacksComponent) this.blocksAttacks);
|
||||
this.blocksAttacks = (blocksAttacks == null) ? null : new CraftBlocksAttacksComponent((CraftBlocksAttacksComponent) blocksAttacks);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue