@cc-component/cc-pathfinding 1.1.1 → 1.1.2

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.
@@ -100,7 +100,7 @@ export class PathfindingModule {
100
100
 
101
101
  // 节点可以用
102
102
  static FreeNode(row: number, col: number) {
103
- this.Ins.map_view.freeNode(row, col)
103
+ this.Ins.map_view?.freeNode(row, col)
104
104
 
105
105
  }
106
106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cc-component/cc-pathfinding",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "engine": ">=3.8.6",
5
5
  "description": "系统组件添加常用扩展方法",
6
6
  "main": "index.ts",