NPC dialogue closing via buttons is delayed now
The bug
In the latest beta, some changes were made to NPC dialogue. It's largely better, but it actually became less responsive. When you click a button, the commands run right away, but the closing of the interface is delayed. If you're quick enough, you can actually click the button multiple times, which could break a system.
How to reproduce
1. Spawn an NPC
2. Edit its interface to have a clickable button
3. Click the button
→
There's a brief delay before the screen closes. In 1.17.10.21 and earlier, it closed instantly. Clicking the X still seems to make it close instantly.
There's also no way to close the dialogue with the /dialogue command. That would be helpful as a workaround.
2021-06-13, 02:32 AM
2024-08-14, 01:54 PM
7
2
535795
-