'/scoreboard players operation' does not tab complete fake players for second name argument and syntax help calls it selector
The bug
The /scoreboard players operation command tab completes fake players for the first but not the second name argument.
Additionally the syntax help calls it "selector" instead of "name":
/scoreboard players operation <targetName> <targetObjective> <operation> <selector> <objective>
How to reproduce
- Add an objective
/scoreboard objectives add test dummy
- Set for the fake player #fakePlayer a score
/scoreboard players set #fakePlayer test 1
- Enter the following command and try to tab complete the fake player for both name arguments
/scoreboard players operation
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
The method net.minecraft.command.server.CommandScoreboard.getTabCompletions(MinecraftServer, ICommandSender, String[], BlockPos) uses only online players for the second name argument.
2017-05-19, 10:54 PM
2020-11-30, 05:25 PM
2020-11-30, 05:25 PM
3
2
command-syntax-help, fake-players, score, scoreboard, tab-completion
-