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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. 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 (!BattleData.isBattleByUserId(session.userId)) {
1396
+ if (BattleData.isBattleByUserId(session.userId)) {
1397
1397
  session.send(`该道具在战斗中无法使用!请在小队脱离战斗后使用。`);
1398
1398
  return { err: true };
1399
1399
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-smmcat-gensokyo",
3
3
  "description": "名为《幻想乡》的文字冒险游戏",
4
- "version": "0.0.19",
4
+ "version": "0.0.20",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [