perf(bukkit): 优化性能

This commit is contained in:
2023-01-18 23:51:27 +08:00
parent f6747bd05f
commit 6a0810f0bb
2 changed files with 1 additions and 2 deletions

View File

@@ -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

View File

@@ -155,7 +155,7 @@ public class PageConfig implements InventoryHolder {
return group;
}
}
return buttonGroups.get(0);
throw new IllegalArgumentException("未找到名称为 " + groupName + " 的按钮编组!");
}
@NotNull