@rpg-engine/long-bow 0.8.5 → 0.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpg-engine/long-bow",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -182,8 +182,7 @@ export const generateContextMenu = (
182
182
  ];
183
183
  }
184
184
 
185
- console.log(item.type === ItemType.Container)
186
- if (item.type === ItemType.Container) {
185
+ if (item.type && item.type === ItemType.Container) {
187
186
  const existInContextAction = contextActionMenu.some(
188
187
  item => item.text === DepotSocketEvents.OpenContainer
189
188
  || item.id === ItemSocketEvents.ContainerOpen