@shimotsuki/core 3.0.11 → 3.0.13

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.
@@ -1282,7 +1282,7 @@ let st = class Gui extends BaseComponent {
1282
1282
  if (typeof e === "string") {
1283
1283
  var l;
1284
1284
  const t = $(l = A.bundles).call(l, e => {
1285
- const t = e.getSceneInfo(this.currentScene);
1285
+ const t = this.currentScene ? e.getSceneInfo(this.currentScene) : null;
1286
1286
  return t?.uuid === this.currentSceneUUID;
1287
1287
  });
1288
1288
  if (t && t.name !== "main") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shimotsuki/core",
3
- "version": "3.0.11",
3
+ "version": "3.0.13",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "main": "dist/shimotsuki_core.js",