Skip to content

Conversation

@I-No-oNe
Copy link
Contributor

@I-No-oNe I-No-oNe commented Nov 3, 2025

Type of change

  • Bug fix
  • New feature

Description

Fixed SelfGlow and improved scripts interactions, and also toggled messages not working

Related issues

None?

Checklist:

  • My code follows the style guidelines of ItziSpyder(ImproperIssues).
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.
  • I have joined the ClickCrystals Discord.

@I-No-oNe I-No-oNe changed the title Fixed SelfGlow and improved scripts interactions Fixed SelfGlow & improved scripts interactions & toggled messages not working Nov 3, 2025
public int[] getRGBA() {
return new int[]{red, green, blue, alpha};
public int getRGBA() {
return ((alpha & 0xFF) << 24) | ((red & 0xFF) << 16) | ((green & 0xFF) << 8) | (blue & 0xFF);
Copy link
Member

@ItziSpyder ItziSpyder Nov 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems a bit off...
Would you mind changing it to this?

return alpha << 24 | red << 16 | green << 8 | blue;

edit: Btw Minecraft colors are formatted ARGB not RGBA

Copy link
Contributor Author

@I-No-oNe I-No-oNe Nov 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will be done
Edit: Yeah, I remember it now 😅

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ItziSpyder done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants