Gunivers / Bookshelf

📚 Bookshelf is a modular library datapack designed to simplify complex systems in Minecraft maps. Ideal for mapmakers looking for easy-to-implement tools.
http://bookshelf.docs.gunivers.net
Mozilla Public License 2.0
40 stars 13 forks source link

Bookshelf commands in execute callback Interrupt loop execution #254

Closed aksiome closed 1 month ago

aksiome commented 1 month ago

When running Bookshelf commands within an execute callback, it can interrupt further execution. This happens because the execute loop relies on bs:ctx storage, which should not be used in the loop. Since user commands can be executed at each step and modifying bs:ctx within the loop leads to unintended behavior.