[Rseding91] [1.1.35] crash when using set_stack inside blueprint book

This subforum contains all the issues which we already resolved.
Post Reply
justarandomgeek
Filter Inserter
Filter Inserter
Posts: 291
Joined: Fri Mar 18, 2016 4:34 pm
Contact:

[Rseding91] [1.1.35] crash when using set_stack inside blueprint book

Post by justarandomgeek »

Using set_stack() to replace an item in a blueprint book causes a crash

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")
Attachments
factorio-current.log
(12.74 KiB) Downloaded 64 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 11873
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [1.1.35] crash when using set_stack inside blueprint book

Post by Rseding91 »

Thanks for the report. It's now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”