--- a/net/minecraft/commands/Commands.java
+++ b/net/minecraft/commands/Commands.java
@@ -374,7 +374,7 @@
     ) {
         for (CommandNode<CommandSourceStack> commandnode : p_82113_.getChildren()) {
             if (commandnode.canUse(p_82115_)) {
-                ArgumentBuilder<SharedSuggestionProvider, ?> argumentbuilder = commandnode.createBuilder();
+                ArgumentBuilder<SharedSuggestionProvider, ?> argumentbuilder = (ArgumentBuilder<SharedSuggestionProvider, ?>)(ArgumentBuilder<?, ?>)commandnode.createBuilder();
                 argumentbuilder.requires(p_82126_ -> true);
                 if (argumentbuilder.getCommand() != null) {
                     argumentbuilder.executes(p_82102_ -> 0);
