Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-253460

/advancement inside of /execute can give "Failed to handle packet" error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.19, 1.19.1 Pre-release 1
    • None
    • Unconfirmed
    • (Unassigned)

      Typing a command like

      /execute as @s run advancement grant @s only minecraft:adventure/adventuring_time

      into chat and pressing space gives the following error in the game output and log:

      Failed to handle packet xf@32bc4e94, suppressing error
      java.lang.IllegalArgumentException: No such argument 'advancement' exists on this command
      	at com.mojang.brigadier.context.CommandContext.getArgument(CommandContext.java:85)
      	at eq.e(SourceFile:75)
      	at eq.a(SourceFile:37)
      	at abj.b(SourceFile:49)
      	at com.mojang.brigadier.tree.ArgumentCommandNode.listSuggestions(ArgumentCommandNode.java:71)
      	at com.mojang.brigadier.CommandDispatcher.getCompletionSuggestions(CommandDispatcher.java:598)
      	at com.mojang.brigadier.CommandDispatcher.getCompletionSuggestions(CommandDispatcher.java:580)
      	at agh.a(SourceFile:513)
      	at xf.a(SourceFile:29)
      	at xf.a(SourceFile:7)
      	at sq.a(SourceFile:22)
      	at aba.run(SourceFile:18)
      	at ayd.d(SourceFile:157)
      	at ayh.d(SourceFile:23)
      	at net.minecraft.server.MinecraftServer.b(SourceFile:778)
      	at net.minecraft.server.MinecraftServer.d(SourceFile:162)
      	at ayd.x(SourceFile:131)
      	at net.minecraft.server.MinecraftServer.bh(SourceFile:760)
      	at net.minecraft.server.MinecraftServer.x(SourceFile:754)
      	at ayd.c(SourceFile:140)
      	at net.minecraft.server.MinecraftServer.w(SourceFile:739)
      	at net.minecraft.server.MinecraftServer.v(SourceFile:671)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:260)
      	at java.base/java.lang.Thread.run(Thread.java:833) 

      This appears to only happen for /advancement, and only when using 'only', along with 'grant' or 'revoke'.

       

            Unassigned Unassigned
            mattp_12 mattp_12
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: