[SPIGOT-4927] At selectors for commands are not being evaluated before command passed along to plugins Created: 14/May/19 Updated: 14/May/19 Resolved: 14/May/19 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | LethalBunny | Assignee: | Unassigned |
Resolution: | Invalid | Votes: | 0 |
Labels: | command_error, commands, selector | ||
Environment: |
not relevent, tested on Windows 10 and Ubuntu 18.4 |
Version: | This server is running CraftBukkit version git-Spigot-8043ebc-89c52b7 (MC: 1.14.1) (Implementing API version 1.14.1-R0.1-SNAPSHOT). You are running the latest version |
Plugin: | Any plugin that has a command that takes a player as a parameter |
Guidelines Read: | Yes |
Description |
To reproduce do a completely clean fresh install of 1.14 or 1.14.1 and install any plugin that has a command that can take a player as an argument. Then execute the command from anywhere, console, player, or command block and pass it any @ selector as the player parameter and the @ is passed along as a string instead of being evaluated before hand. Was evaluated in previous versions. |
Comments |
Comment by LethalBunny [ 14/May/19 ] |
API to parse selectors how? |
Comment by md_5 [ 14/May/19 ] |
This was the case in 1.13 also. Plugins must use the API to parse selectors or use a plugin such as SelectEverywhere. |