koishi-plugin-toram 0.0.2 → 0.0.3

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
@@ -99,7 +99,7 @@ async function apply(ctx) {
99
99
  ;
100
100
  for (i = 0; i <= n; i++) {
101
101
  y = arr2[i];
102
- switch (Math.abs(等级 - rows[i]?.level)) {
102
+ switch (Math.abs(等级 - rows[y]?.level)) {
103
103
  case 0:
104
104
  case 1:
105
105
  case 2:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-toram",
3
3
  "description": "托拉姆物语工具捏",
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [