--- a/net/minecraft/commands/Commands.java
+++ b/net/minecraft/commands/Commands.java
@@ -376,7 +376,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);
