File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ plugins {
7
7
}
8
8
9
9
group = " com.github.samarium150"
10
- version = " 1.2 "
10
+ version = " 1.3 "
11
11
12
12
repositories {
13
13
mavenLocal()
Original file line number Diff line number Diff line change @@ -126,6 +126,10 @@ object Lolicon: CompositeCommand(
126
126
sendMessage(" 非法属性" )
127
127
return
128
128
}
129
+ if (setting != 0 || setting != 1 || setting != 2 ) {
130
+ sendMessage(" 非法属性" )
131
+ return
132
+ }
129
133
PluginData .customR18Groups[(subject as Group ).id] = setting
130
134
sendMessage(" 设置成功" )
131
135
}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import net.mamoe.mirai.utils.info
26
26
object Main: KotlinPlugin(
27
27
JvmPluginDescription (
28
28
id = "com.github.samarium150.mirai-console-lolicon",
29
- version = "1.2 ",
29
+ version = "1.3 ",
30
30
name = "mirai-console-lolicon"
31
31
)
32
32
) {
You can’t perform that action at this time.
0 commit comments