GeyserMC/OpenNBT

Why don't accept multiple types for ListTag ?

Elikill58 opened this issue · 1 comments

This is not really an issue but mostly a question. I don't understand why there is this because multiple list can have multiple types.

Also, if we use setValue(), it works. So: why ? Why throw error only with default value but not when replacing it ?

A list tag in Minecraft only supports one type. You can’t have a string and byte tag for instance in the same nbt list.

In the future, please join our Discord server if you have any questions about the protocol / NBT. The issues section is more for reporting issues