TypeError: Cannot read property 'refresh' of undefined
at Scene_ItemBase.useItem (rpg_scenes.js:1165)
at Scene_Item.useItem (rpg_scenes.js:1291)
at Scene_ItemBase.determineItem (rpg_scenes.js:1154)
at Scene_Item.onItemOk (rpg_scenes.js:1278)
at Window_ItemList.Window_Selectable.callHandler (rpg_windows.js:902)
at Window_ItemList.Window_Selectable.callOkHandler (rpg_windows.js:1171)
at Window_ItemList.Window_Selectable.processOk (rpg_windows.js:1156)
at Window_ItemList.Window_Selectable.onTouch (rpg_windows.js:1086)
at Window_ItemList.Window_Selectable.processTouch (rpg_windows.js:1054)
at Window_ItemList.Window_Selectable.update (rpg_windows.js:986)