Skip to content

Commit f8b7fc6

Browse files
committed
修正
1. 修正了建立插件時的條件錯誤 2. 刪除已完成的目標
1 parent 8e2c3f1 commit f8b7fc6

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ This website allows you to create simple RPG Maker MV/MZ plugins through its int
66

77
1. 在半途插入程式片段、
88
2. 覆寫既有函數
9-
3. 直接以 js 檔案下載插件
10-
4. 預設範例插件
9+
3. 預設範例插件

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,15 +1024,15 @@ class Builder {
10241024
10251025
${commandsCode}
10261026
})()`
1027-
: false
1027+
: ""
10281028

10291029
return "/**:"
10301030
+ [
10311031
BasicInfoBuilder.build(),
10321032
ParameterBuilder.build(),
10331033
commandsNote,
10341034
]
1035-
.filter(([_, v]) => v !== false)
1035+
.filter(Fnc.getNotEmpty)
10361036
.join("")
10371037
+ "\n */"
10381038
+ code

0 commit comments

Comments
 (0)