-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
命令处理的机制错误/特性 #2
Labels
bug
Something isn't working
Comments
测了一下,Paper1.12.2 1620也是将每个空格split成args啊 而且有两个问题
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
以下为GMP作者迪安 Dean分析,我不懂这块
Beast改了命令处理的机制
原版命令,命令中多的空格最后只会试作一个空格
而这个他把命令执行里的空格全变成arguments了
GMP的购买GUI上确认购买的命令的原参数中,数量一栏默认是一个占位符,没有指定数量的话这个占位符会变成一个空字符串,有指定数量就会是一个数字
所以变成空字符串,被你这个服务端当成了一个命令argument
例如
如果我在中间加一大堆空格,原版服务端下会是[transaction, confirm, ,{uid}]四个元素
但是这个核心,他是[transaction, confirm, , , , , , , , , , ,{uid}]
中间的空格全被当成arguments了
至此GMP对指令的操作方式报错,无法使用,希望可以兼容并修复此问题,感谢!
The text was updated successfully, but these errors were encountered: