Skip to content

Commit

Permalink
Update for cloud changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Jan 22, 2024
1 parent b100c40 commit 453dc82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions cloud-sponge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import org.spongepowered.gradle.vanilla.repository.MinecraftPlatform

plugins {
id("conventions.base")
id("conventions.publishing")
id("org.spongepowered.gradle.vanilla")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
package cloud.commandframework.sponge;

import cloud.commandframework.CommandComponent;
import cloud.commandframework.arguments.aggregate.AggregateCommandParser;
import cloud.commandframework.arguments.aggregate.AggregateParser;
import cloud.commandframework.arguments.parser.ArgumentParser;
import cloud.commandframework.arguments.parser.EitherParser;
import cloud.commandframework.arguments.parser.MappedArgumentParser;
Expand Down Expand Up @@ -141,7 +141,7 @@ private static void unwrap(
unwrap(parsers, eitherParser.fallback().parser());
return;
}
if (parser instanceof AggregateCommandParser<?, ?> aggregateParser) {
if (parser instanceof AggregateParser<?, ?> aggregateParser) {
for (final CommandComponent<?> component : aggregateParser.components()) {
unwrap(parsers, component.parser());
}
Expand Down

0 comments on commit 453dc82

Please sign in to comment.