mirror of
https://github.com/Minestom/Minestom.git
synced 2024-06-22 20:44:54 +02:00
fix ItemStack#asHoverEvent
This commit is contained in:
parent
e56d82eb2a
commit
02cc29cd06
|
@ -246,7 +246,7 @@ public final class ItemStack implements TagReadable, HoverEventSource<HoverEvent
|
|||
public @NotNull HoverEvent<HoverEvent.ShowItem> asHoverEvent(@NotNull UnaryOperator<HoverEvent.ShowItem> op) {
|
||||
return HoverEvent.showItem(op.apply(HoverEvent.ShowItem.of(this.material,
|
||||
this.amount,
|
||||
NBTUtils.asBinaryTagHolder(this.meta.toNBT().getCompound("tag")))));
|
||||
NBTUtils.asBinaryTagHolder(this.meta.toNBT()))));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user