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