Hi
Just got a crash with Quickbar blueprint.
Screenshot with context: https://i.imgur.com/csO2Up7.png
What I did:
- I pressed Control-X to get the new Cut blueprint
- I dragged it over an area containing cliffs and trees which I wanted my bots to deconstruct. My purpose was to use the new Cut blueprint as a quicker way of getting of deconstructing things, quicker than getting a deconstruction planner (because there's an easy keyboard shortcut for Cut, but not for the deconstruction planner.)
- The entities involved got marked with red Xs for deconstruction (as can be seen in screenshot), but immediately your mod crashed.
- I later disabled the mod and repeated the operation at the same place to confirm it did not crash without the mod.
I noted that this resulted in my getting a blueprint containing some landfill (or grass-1 tile), so maybe the crash is nothing to do with deconstruction, but purely to do with a blueprint containing 100% grass/landfill?
Here's another screenshot of me doing a similar operation without your mod - you can see I appear to be holding a blueprint containing nothing but grass: https://i.imgur.com/ZlbsRbZ.png . If I then put this in my inventory, it looks like this: https://i.imgur.com/26dpRQk.png
So my guess is this 100% grass-1/landfill blueprint broke your detection of what kind of BP the player is holding?
Error message:
12519.763 Error MainLoop.cpp:1129: Exception at tick 107600554: The mod [color=cyan]Quickbar blueprint[/color] [signal=signal-Q][item=blueprint] caused a non-recoverable error.
Please report this error to the mod author.
Error while running event quick-bar-blueprint::on_player_cursor_stack_changed (ID 29)
quick-bar-blueprint/control.lua:94: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'ipairs'
quick-bar-blueprint/control.lua:94: in function 'has_qb_bp'
quick-bar-blueprint/control.lua:113: in function <quick-bar-blueprint/control.lua:105
I'm going to disable the mod for the time being.
Thanks