Strange issue with books
LadyCailinBot opened this issue · 6 comments
CMDHELPER-3018 - Reported by Алексей.Положенцев
Build #2822-
Don't quite understand, then this bug appears, so here's what i've done:
bind(player_interact, null, array(item: 386, button: left), @event,
msg(get_itemmeta(pinfo(@event[player], 15))))
In attachments: what i wrote in the book and what message i got after "kicking the air".
Comment by PseudoKnight
Cannot reproduce. It might be your build of Spigot, as MC changed the book meta and Spigot had to fix some stuff for that. Update Spigot and report back.
Comment by Алексей.Положенцев
Weird. Just got a newest version of Spigot and having the same issue.
I write "11 t170" in book and all is fine.
Next, i add ".ib", and with "11 t170.ib" have this issue.
Next, i delete ".ib" and with "11 t170" STILL have the same problem!
Comment by PseudoKnight
Something in that seems like it's causing the JSON object to split, and it naturally adds the color black to the new extra text element. In any event, this isn't a CH issue. It's either a vanilla and/or spigot issue. There's been a ton of issues with books due to the new format and they've only been able to solve some of them.
Comment by PseudoKnight
If you're wondering, it looks like it's the format ##.XX that does it, where # can be any number and X can be any letter. (also any number of periods works)
Comment by PseudoKnight
Actually, I looked at the NBT and it's adding section sign color codes.