koishi-plugin-warframe 0.0.4 → 0.0.5
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/lib/index.js +2 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -45183,9 +45183,9 @@ var generateFissureOutput = /* @__PURE__ */ __name(async (puppe, fissures2, type
|
|
|
45183
45183
|
return OutputImage(imgBase64);
|
|
45184
45184
|
}, "generateFissureOutput");
|
|
45185
45185
|
var updateWorldState = /* @__PURE__ */ __name(async () => {
|
|
45186
|
-
if (worldstateUpdating) return;
|
|
45186
|
+
if (worldstateUpdating) return true;
|
|
45187
45187
|
if (worldState && worldStateLastUpdatedAt && Date.now() - worldStateLastUpdatedAt.getTime() < 12e4)
|
|
45188
|
-
return;
|
|
45188
|
+
return true;
|
|
45189
45189
|
try {
|
|
45190
45190
|
worldState = await getWorldState();
|
|
45191
45191
|
worldStateLastUpdatedAt = /* @__PURE__ */ new Date();
|