mirror of
https://github.com/jie65535/mirai-console-j24-plugin.git
synced 2025-06-01 17:29:15 +08:00
ban function
This commit is contained in:
parent
ad5c9866f7
commit
13bc96b11b
@ -43,7 +43,9 @@ class Point24 {
|
||||
if (i < nums.size)
|
||||
nums.removeAt(i)
|
||||
else
|
||||
throw IllegalArgumentException("不能使用未允许数值")
|
||||
throw IllegalArgumentException("不能使用未得到的数值")
|
||||
} else if (token.type == Token.TOKEN_FUNCTION.toInt()) {
|
||||
throw IllegalArgumentException("禁止使用函数哦")
|
||||
}
|
||||
}
|
||||
if (nums.isNotEmpty())
|
||||
|
Loading…
Reference in New Issue
Block a user