🐛 Fix merge issue

This commit is contained in:
Alexander Söderberg 2020-10-02 21:09:17 +02:00
parent c67619e5da
commit b94075833d
No known key found for this signature in database
GPG key ID: C0207FF7EA146678

View file

@ -408,8 +408,13 @@ public class Command<C> {
@NonNull final Description description) { @NonNull final Description description) {
final Map<CommandArgument<C, ?>, Description> commandArgumentMap = new LinkedHashMap<>(this.commandArguments); final Map<CommandArgument<C, ?>, Description> commandArgumentMap = new LinkedHashMap<>(this.commandArguments);
commandArgumentMap.put(builder.build(), description); commandArgumentMap.put(builder.build(), description);
return new Builder<>(this.commandManager, this.commandMeta, this.senderType, commandArgumentMap, return new Builder<>(this.commandManager,
this.commandExecutionHandler, this.commandPermission); this.commandMeta,
this.senderType,
commandArgumentMap,
this.commandExecutionHandler,
this.commandPermission,
this.flags);
} }
/** /**