perf(bukkit): 优化性能
This commit is contained in:
@@ -82,7 +82,6 @@ public abstract class ParentCommand extends ChildCommand {
|
||||
|
||||
public void addChildCommand(@NotNull ChildCommand command) {
|
||||
childCommands.add(command);
|
||||
getPlugin().getLogger().info("已为 " + getUsage() + " 添加子命令: " + command.getName() + " .");
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
@@ -155,7 +155,7 @@ public class PageConfig implements InventoryHolder {
|
||||
return group;
|
||||
}
|
||||
}
|
||||
return buttonGroups.get(0);
|
||||
throw new IllegalArgumentException("未找到名称为 " + groupName + " 的按钮编组!");
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
Reference in New Issue
Block a user