Mojira Archive
MC-253460

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

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'.

 

Duplicate

mattp_12

2022-06-22, 09:48 PM

2022-07-05, 02:12 PM

2022-07-05, 02:06 PM

1

1

Unconfirmed

(Unassigned)

1.19, 1.19.1 Pre-release 1

-