Skip to content

Commit 353dd5c

Browse files
committed
1 parent 64c157f commit 353dd5c

9 files changed

Lines changed: 0 additions & 442 deletions

File tree

cloud-annotations/src/main/java/cloud/commandframework/annotations/AnnotationParser.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
import cloud.commandframework.context.CommandContext;
4848
import cloud.commandframework.context.CommandInput;
4949
import cloud.commandframework.execution.CommandExecutionHandler;
50-
import cloud.commandframework.extra.confirmation.CommandConfirmationManager;
5150
import cloud.commandframework.internal.CommandInputTokenizer;
5251
import cloud.commandframework.meta.CommandMeta;
5352
import cloud.commandframework.meta.CommandMetaBuilder;
@@ -885,9 +884,6 @@ private <T> void parseParsers(final @NonNull T instance) {
885884
final Method method = commandDescriptor.method();
886885
final CommandManager<C> manager = this.manager;
887886
final CommandMetaBuilder metaBuilder = CommandMeta.builder().with(this.metaFactory.apply(method));
888-
if (methodOrClassHasAnnotation(method, Confirmation.class)) {
889-
metaBuilder.with(CommandConfirmationManager.META_CONFIRMATION_REQUIRED, true);
890-
}
891887

892888
Command.Builder<C> builder = manager.commandBuilder(
893889
commandDescriptor.commandToken(),

cloud-annotations/src/main/java/cloud/commandframework/annotations/Confirmation.java

Lines changed: 0 additions & 38 deletions
This file was deleted.

cloud-core/src/main/java/cloud/commandframework/arguments/parser/StandardParameters.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ public final class StandardParameters {
4141
* Maximum value accepted by a numerical parser
4242
*/
4343
public static final ParserParameter<Number> RANGE_MAX = create("max", TypeToken.get(Number.class));
44-
/**
45-
* Command confirmation
46-
*/
47-
public static final ParserParameter<Boolean> CONFIRMATION = create("confirmation", TypeToken.get(Boolean.class));
4844
/**
4945
* The command should be hidden from help menus, etc
5046
*/

cloud-core/src/main/java/cloud/commandframework/extra/confirmation/CommandConfirmationManager.java

Lines changed: 0 additions & 181 deletions
This file was deleted.

examples/example-bukkit/src/main/java/cloud/commandframework/examples/bukkit/annotations/AnnotationParserExample.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import cloud.commandframework.examples.bukkit.ExamplePlugin;
2929
import cloud.commandframework.examples.bukkit.annotations.feature.BuilderModifierExample;
3030
import cloud.commandframework.examples.bukkit.annotations.feature.CommandContainerExample;
31-
import cloud.commandframework.examples.bukkit.annotations.feature.ConfirmationExample;
3231
import cloud.commandframework.examples.bukkit.annotations.feature.EnumExample;
3332
import cloud.commandframework.examples.bukkit.annotations.feature.FlagExample;
3433
import cloud.commandframework.examples.bukkit.annotations.feature.HelpExample;
@@ -53,7 +52,6 @@ public final class AnnotationParserExample {
5352
private static final List<AnnotationFeature> FEATURES = Arrays.asList(
5453
new BuilderModifierExample(),
5554
new CommandContainerExample(),
56-
new ConfirmationExample(),
5755
new EnumExample(),
5856
new FlagExample(),
5957
new HelpExample(),

examples/example-bukkit/src/main/java/cloud/commandframework/examples/bukkit/annotations/feature/ConfirmationExample.java

Lines changed: 0 additions & 93 deletions
This file was deleted.

examples/example-bukkit/src/main/java/cloud/commandframework/examples/bukkit/builder/BuilderExample.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import cloud.commandframework.examples.bukkit.builder.feature.AggregateCommandExample;
3232
import cloud.commandframework.examples.bukkit.builder.feature.CommandBeanExample;
3333
import cloud.commandframework.examples.bukkit.builder.feature.CompoundArgumentExample;
34-
import cloud.commandframework.examples.bukkit.builder.feature.ConfirmationExample;
3534
import cloud.commandframework.examples.bukkit.builder.feature.EnumExample;
3635
import cloud.commandframework.examples.bukkit.builder.feature.FlagExample;
3736
import cloud.commandframework.examples.bukkit.builder.feature.HelpExample;
@@ -60,7 +59,6 @@ public final class BuilderExample {
6059
new AggregateCommandExample(),
6160
new CommandBeanExample(),
6261
new CompoundArgumentExample(),
63-
new ConfirmationExample(),
6462
new EnumExample(),
6563
new FlagExample(),
6664
new HelpExample(),

0 commit comments

Comments
 (0)