Skip to content

Commit 38f3a38

Browse files
committed
Adress review
1 parent 66fd2eb commit 38f3a38

File tree

1 file changed

+1
-1
lines changed
  • commandapi-platforms/commandapi-bukkit/commandapi-bukkit-core/src/main/java/dev/jorel/commandapi

1 file changed

+1
-1
lines changed

commandapi-platforms/commandapi-bukkit/commandapi-bukkit-core/src/main/java/dev/jorel/commandapi/CommandAPIBukkit.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ private String[] getUsageList(RegisteredCommand currentCommand) {
358358

359359
void updateHelpForCommands(List<RegisteredCommand> commands) {
360360
Map<String, HelpTopic> helpTopicsToAdd = new HashMap<>();
361-
List<String> namespacedCommandNames = new ArrayList<>();
361+
Set<String> namespacedCommandNames = new HashSet<>();
362362

363363
for (RegisteredCommand command : commands) {
364364
// Don't override the plugin help topic

0 commit comments

Comments
 (0)