-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
IllegalArgumentException while attempting to serialize an ItemStack #1334
Comments
FYI, @dualspiral recommended that I try using hocon instead of json. The change made the serialization successful but deserialization fails. https://gist.github.com/Mohron/c038a1095ad7faa967eab4f0a562e324 https://gist.github.com/Mohron/b119b1e135d23e2c5dbd93a1b71bde50 |
Related to #1307 perhaps? |
|
I got the same issue:
|
This should be closed. This is something that should be handled by configurate. [B is an array of bytes. The same thing is happening with ints, etc. |
Agreeing with @ImMorpheus. It's not sponge's fault for handling it. Since we provide the serialization formats and it's the serializer itself that is failing, it's a Configurate issue. |
I am currently running...
SpongeForge version: 1.10.2-2281-5.2.0-BETA-2300
Java version: 1.8.0_121
Operating System: Win 10
Plugins/Mods: Minecraft, Minecraft Coder Pack, Forge Mod Loader, Minecraft Forge, SpongeAPI, SpongeForge, InventoryProtect, mercurius_updater, LuckPerms, Nucleus
What is the expected result?
Serializing an ItemStack without crashing
What is the current result?
https://gist.github.com/Mohron/a193ecec64971c00c9d86a6d1af4cbb7
The text was updated successfully, but these errors were encountered: