[Rseding91] [1.1.35] crash when using set_stack inside blueprint book
Posted: Wed Jun 23, 2021 10:16 pm
Using set_stack() to replace an item in a blueprint book causes a crash
Repro command (imports a book containing an empty blueprint)
Repro command (imports a book containing an empty blueprint)
Code: Select all
/c game.player.cursor_stack.import_stack("0eNqrVkrKKU0tKMrMK4lPys/PVrKqRogUK1lFI3FBcpklqblKVkhiOkplqUXFmfl5SlZGFoYm5pZG5iYGxuZGJha1OkqZeSmpFUpWBrWxOhg6dcHW6SglJpdklqXGw5TiMa8WAESYOOY=") game.player.cursor_stack.get_inventory(defines.inventory.item_main)[1].set_stack("blueprint")