Careful when destroying a "shelf" storage

storage
a23r779

#1

I had a mason corner shelf, with some items in it. Used the clear tool to destroy it (just to test if I was going to lose the stored items) and it throw this error

release-779 (x64)[M]
attempt to index local ‘storage’ (a nil value)
stack traceback:
stonehearth/ai/actions/fill_input_bin_action.lua:34: in function 'fn’
stonehearth/services/server/ai/placeholders.lua:146: in function 'obj’
stonehearth/services/server/ai/placeholders.lua:19: in function '__eval’
stonehearth/services/server/ai/ai_service.lua:383: in function <stonehearth/services/server/ai/ai_service.lua:379>
[C]: in function 'fn’
stonehearth/services/server/threads/thread.lua:346: in function 'private_msg’
stonehearth/services/server/threads/thread.lua:543: in function '_dispatch_messages’
stonehearth/services/server/threads/thread.lua:403: in function <stonehearth/services/server/threads/thread.lua:384>
[C]: in function 'suspend’
stonehearth/ai/actions/run_effect_action.lua:93: in function <stonehearth/ai/actions/run_effect_action.lua:45>
[C]: ?

[C]: in function 'run’
stonehearth/components/ai/ai_component.lua:515: in function <stonehearth/components/ai/ai_component.lua:499>
[C]: in function 'xpcall’
radiant/modules/commons.lua:66: in function 'xpcall’
stonehearth/components/ai/ai_component.lua:499: in function '_thread_main’
stonehearth/services/server/threads/thread.lua:273: in function <stonehearth/services/server/threads/thread.lua:270>
[C]: in function 'xpcall’
radiant/modules/commons.lua:66: in function 'xpcall’
stonehearth/services/server/threads/thread.lua:270: in function 'f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>


#2

Thanks! We’ll fix this for next release.