Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse inconsistency with color #6490

Open
TheLimeGlass opened this issue Mar 11, 2024 · 1 comment
Open

Parse inconsistency with color #6490

TheLimeGlass opened this issue Mar 11, 2024 · 1 comment
Labels
investigating The core developers are currently investigating this issue. Usually used for complex cases.

Comments

@TheLimeGlass
Copy link
Collaborator

TheLimeGlass commented Mar 11, 2024

Skript/Server Version

2.8.3
Spigot Paper 1.20.1

Bug Description

When using set {_color} to "%player's tool%" parsed as "%color% wool block" otherwise "%player's tool%" parsed as "<.+> %color% wool blocks" I get light green wool but when I use \broadcast player's tool or \broadcast "%player's tool%" as an effect command, I get lime wool

Expected Behavior

To always be lime wool regardless of the parse context.

@TheLimeGlass TheLimeGlass changed the title Parse inconsistancy with color Parse inconsistency with color Mar 11, 2024
@AyhamAl-Ali AyhamAl-Ali added the investigating The core developers are currently investigating this issue. Usually used for complex cases. label Mar 12, 2024
@sovdeeth
Copy link
Member

sovdeeth commented Mar 21, 2024

image
Light green is just the name used for the color lime. The block's output doesn't change based on context.
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating The core developers are currently investigating this issue. Usually used for complex cases.
Projects
None yet
Development

No branches or pull requests

3 participants