Command argument validation for single entity says player in some error messages
The bug
Using selectors which can include multiple entities as value for a command argument which only allows a single entity shows the following error message, despite all entity types being allowed.
Only one player is allowed, but the provided selector allows more than one.
This appears to affect only some commands, for example /execute if score @e correctly says "entity".
Likely the wrong exception is used, argument.player.toomany instead of argument.entity.toomany, see bp.class (17w45b).
Affected commands
2017-11-11, 12:06 AM
2018-01-25, 04:34 AM
2017-12-06, 01:45 PM
5
2