Closed Helfima closed 1 year ago
if blueprint is not identified in the inventory that delete the items of hand stack
helmod_dev\model\Player.lua line 147: Lua_player.cursor_stack.set_stack("blueprint") we must change method
sample:
`local script_inventory = game.create_inventory(1) local blank_slot = script_inventory[1]
blank_slot.set_stack{name="fp_cursor_blueprint"} blank_slot.set_blueprint_entities(blueprint_entities) player.add_to_clipboard(blank_slot) player.activate_paste() script_inventory.destroy()`
Fixed by b195d85
if blueprint is not identified in the inventory that delete the items of hand stack
helmod_dev\model\Player.lua line 147: Lua_player.cursor_stack.set_stack("blueprint") we must change method
sample:
`local script_inventory = game.create_inventory(1) local blank_slot = script_inventory[1]
blank_slot.set_stack{name="fp_cursor_blueprint"} blank_slot.set_blueprint_entities(blueprint_entities) player.add_to_clipboard(blank_slot) player.activate_paste() script_inventory.destroy()`