mega12345mega / NBT-Editor

Edit items, blocks, and entities in-game.
MIT License
47 stars 14 forks source link

Event edit in books crash #114

Closed TabFox-log closed 1 month ago

TabFox-log commented 1 month ago

When writing a book, if you try to add a "when hovered" event, it needs quotes if it has space characters in it. When trying to edit text with one of these events, the game just crashes. Version: 1.20.1 I don't know if it still is a bug

mega12345mega commented 1 month ago

I fixed Issue #91 a little bit ago, so you should probably check if the latest version has this crash

The text input expects JSON text, which is why spaces don't work. I should change it to use the special text format (depending on the config entry), which is more intuitive and fixes this

TabFox-log commented 1 month ago

Alright, it probably doesn't crash then. I'll check.