koishi-plugin-smmcat-gensokyo 0.0.19 → 0.0.20
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 +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1393,7 +1393,7 @@ var propsData = {
|
|
|
1393
1393
|
price: 10,
|
|
1394
1394
|
cooling: 3600,
|
|
1395
1395
|
fn: /* @__PURE__ */ __name(async function(session) {
|
|
1396
|
-
if (
|
|
1396
|
+
if (BattleData.isBattleByUserId(session.userId)) {
|
|
1397
1397
|
session.send(`该道具在战斗中无法使用!请在小队脱离战斗后使用。`);
|
|
1398
1398
|
return { err: true };
|
|
1399
1399
|
}
|