Fixed 1.17.1 and 1.18.1 errors
This commit is contained in:
@@ -62,7 +62,8 @@ class ChatComponent : ChatComponentProxy {
|
||||
}
|
||||
|
||||
val newShowItem = showItem.nbt(
|
||||
BinaryTagHolder.binaryTagHolder(
|
||||
@Suppress("UnstableApiUsage", "DEPRECATION")
|
||||
BinaryTagHolder.of(
|
||||
CraftItemStack.asNMSCopy(
|
||||
Display.display(
|
||||
CraftItemStack.asBukkitCopy(
|
||||
|
||||
@@ -62,7 +62,8 @@ class ChatComponent : ChatComponentProxy {
|
||||
}
|
||||
|
||||
val newShowItem = showItem.nbt(
|
||||
BinaryTagHolder.binaryTagHolder(
|
||||
@Suppress("UnstableApiUsage", "DEPRECATION")
|
||||
BinaryTagHolder.of(
|
||||
CraftItemStack.asNMSCopy(
|
||||
Display.display(
|
||||
CraftItemStack.asBukkitCopy(
|
||||
|
||||
Reference in New Issue
Block a user