Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

papermc serializeAsBytes not implemented for ItemStack #896

Open
1 task done
pontaoski opened this issue Oct 27, 2023 · 0 comments
Open
1 task done

papermc serializeAsBytes not implemented for ItemStack #896

pontaoski opened this issue Oct 27, 2023 · 0 comments

Comments

@pontaoski
Copy link
Contributor

pontaoski commented Oct 27, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Describe the feature

papermc serializeAsBytes and the corresponding deserializeBytes is not implemented for the MockBukkit ItemStack

==> X OrderSuite.basic serialization  0.074s be.seeseemelk.mockbukkit.UnimplementedOperationException: Not implemented
    at be.seeseemelk.mockbukkit.MockUnsafeValues.serializeItem(MockUnsafeValues.java:260)
    at org.bukkit.inventory.ItemStack.serializeAsBytes(ItemStack.java:726)
    at BallCore.Shops.SellOrderItemDescription.serialize$$anonfun$1(SellOrder.scala:49)
    at scala.Option.foreach(Option.scala:437)
    at BallCore.Shops.SellOrderItemDescription.serialize(SellOrder.scala:50)
    at OrderSuite.$init$$$anonfun$1(OrderSuite.scala:26)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant