mirror of
https://github.com/Verdurae/PlaceholderPlus.git
synced 2026-11-26 06:35:20 +08:00
修复 指令参数数量检测问题
This commit is contained in:
1 parent
be58798515
commit
9c06df8fe4
1 file changed
+1
-1
@@ -14,7 +14,7 @@ public class PlaceholderPlusCommand implements CommandExecutor {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onCommand(CommandSender sender, Command command, String s, String[] args) {
|
public boolean onCommand(CommandSender sender, Command command, String s, String[] args) {
|
||||||
if (args.length < 2) {
|
if (args.length < 1) {
|
||||||
sender.sendMessage("PlaceholderPlus:");
|
sender.sendMessage("PlaceholderPlus:");
|
||||||
sender.sendMessage("/pp 玩家名 set 变量名 数值");
|
sender.sendMessage("/pp 玩家名 set 变量名 数值");
|
||||||
sender.sendMessage("/pp 玩家名 add 变量名 数值");
|
sender.sendMessage("/pp 玩家名 add 变量名 数值");
|
||||||
|
|||||||
Reference in new issue
Block a user