Writing any of these command in a command block or in the chat results in an error in the console
/execute in minecraft:overworld run tag @a remove test
/execute positioned ~ ~ ~ run tag @a remove test
/execute facing ~ ~ ~ run tag @a remove test
/execute anchored eyes run tag @a remove test
Error executing task on Server
java.lang.IllegalArgumentException: No such argument 'targets' exists on this command
at com.mojang.brigadier.context.CommandContext.getArgument(CommandContext.java:85)
at dk.c(SourceFile:69)
at dk.b(SourceFile:61)
at yv.a(SourceFile:45)
at yv$$Lambda$4078/1339114893.getSuggestions(Unknown Source)
at com.mojang.brigadier.tree.ArgumentCommandNode.listSuggestions(ArgumentCommandNode.java:71)
at com.mojang.brigadier.CommandDispatcher.getCompletionSuggestions(CommandDispatcher.java:596)
at com.mojang.brigadier.CommandDispatcher.getCompletionSuggestions(CommandDispatcher.java:579)
at abg.a(SourceFile:486)
at sq.a(SourceFile:35)
at sq.a(SourceFile:9)
at ou.a(SourceFile:21)
at ou$$Lambda$4993/1387570813.run(Unknown Source)
at wj.run(SourceFile:18)
at aol.c(SourceFile:144)
at aop.c(SourceFile:23)
at net.minecraft.server.MinecraftServer.b(SourceFile:760)
at net.minecraft.server.MinecraftServer.c(SourceFile:155)
at aol.y(SourceFile:118)
at net.minecraft.server.MinecraftServer.bd(SourceFile:742)
at net.minecraft.server.MinecraftServer.y(SourceFile:736)
at aol.c(SourceFile:127)
at net.minecraft.server.MinecraftServer.x(SourceFile:721)
at net.minecraft.server.MinecraftServer.w(SourceFile:673)
at net.minecraft.server.MinecraftServer.a(SourceFile:257)
at net.minecraft.server.MinecraftServer$$Lambda$4426/253401363.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
But for example this command does not return any error :
/execute as @a positioned ~ ~ ~ run tag @a remove test
Linked issues
Attachments
Comments 3
Having this issue as well in 1.20.4. Seems like it's only happening on the first use of the tag command though, on a Paper server. Confirmed not to be a Paper bug. https://github.com/PaperMC/Paper/issues/3441
[11:12:03 ERROR]: Error executing task on Server
java.lang.IllegalArgumentException: No such argument 'targets' exists on this command
at com.mojang.brigadier.context.CommandContext.getArgument(CommandContext.java:102) ~[brigadier-1.2.9.jar:?]
at net.minecraft.commands.arguments.EntityArgument.getOptionalEntities(EntityArgument.java:67) ~[?:?]
at net.minecraft.commands.arguments.EntityArgument.getEntities(EntityArgument.java:57) ~[?:?]
at net.minecraft.server.commands.TagCommand.register(TagCommand.java:47) ~[?:?]
at com.mojang.brigadier.tree.ArgumentCommandNode.listSuggestions(ArgumentCommandNode.java:71) ~[brigadier-1.2.9.jar:git-Paper-496]
at com.mojang.brigadier.CommandDispatcher.getCompletionSuggestions(CommandDispatcher.java:551) ~[paper-1.20.4.jar:?]
at com.mojang.brigadier.CommandDispatcher.getCompletionSuggestions(CommandDispatcher.java:531) ~[paper-1.20.4.jar:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.sendServerSuggestions(ServerGamePacketListenerImpl.java:842) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleCustomCommandSuggestions0$2(ServerGamePacketListenerImpl.java:808) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.4.jar:git-Paper-496]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:149) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1465) ~[paper-1.20.4.jar:git-Paper-496]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:194) ~[paper-1.20.4.jar:git-Paper-496]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:123) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1442) ~[paper-1.20.4.jar:git-Paper-496]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1365) ~[paper-1.20.4.jar:git-Paper-496]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:133) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1343) ~[paper-1.20.4.jar:git-Paper-496]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1232) ~[paper-1.20.4.jar:git-Paper-496]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-496]
at java.lang.Thread.run(Unknown Source) ~[?:?]
Can confirm in 1.18.1.
[media]