Closed Globbi closed 1 year ago
Does this only apply to items? I guess this would also be relevant to other places where nbt is used. I guess a UUID class would be a bit cleaner, with the library of @MinimineLP, we could write a custom converter: https://github.com/MinimineLP/dart-gson/blob/master/lib/values.dart#L5
I'll take a look at those converters. a UUID class would definitely be cleaner than a post processor!
solved with 3da5882
This fixes an issue with int array representation of UUIDs in nbt tags for items.
Minecraft does not used the standard array format for UUIDs but presumably expects a marker at the beginning.
To solve this issue a little post processing step has been introduced which inserts the expected
I;
for every UUID in int array representation.