diff --git a/cloud-sponge/build.gradle.kts b/cloud-sponge/build.gradle.kts index b092c6a8..ec92a4d7 100644 --- a/cloud-sponge/build.gradle.kts +++ b/cloud-sponge/build.gradle.kts @@ -2,6 +2,7 @@ import org.spongepowered.gradle.vanilla.repository.MinecraftPlatform plugins { id("conventions.base") + id("conventions.publishing") id("org.spongepowered.gradle.vanilla") } diff --git a/cloud-sponge/src/main/java/cloud/commandframework/sponge/SpongeRegistrationHandler.java b/cloud-sponge/src/main/java/cloud/commandframework/sponge/SpongeRegistrationHandler.java index a345f07e..7669e743 100644 --- a/cloud-sponge/src/main/java/cloud/commandframework/sponge/SpongeRegistrationHandler.java +++ b/cloud-sponge/src/main/java/cloud/commandframework/sponge/SpongeRegistrationHandler.java @@ -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; @@ -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()); }