-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
ChatColor.BLUE and ChatColor.RED seem swapped #23
Labels
bug
Something isn't working
waiting for response
A solution has been proposed, or a response from the issuer is needed
Comments
Hi! Which version does this bug happen with? |
Version 1.3.5 |
Yeah but which MC version? |
Oh sorry, version 1.21 |
Can you try on a clean server without other plugins? |
Hey! Any news about this? |
SkytAsul
added
bug
Something isn't working
waiting for response
A solution has been proposed, or a response from the issuer is needed
labels
Nov 2, 2024
Im having a similar issue where red seems to give red but so does green apparently? try {
Boolean isRed = glowingPlayers.get(player.getUniqueId());
if (isRed == null) {
glowingPlayers.put(player.getUniqueId(), true);
for (Player viewer : Bukkit.getOnlinePlayers()) {
plugin.getGlowingEntities().setGlowing(player, viewer, ChatColor.RED);
}
} else if (isRed) {
for (Player viewer : Bukkit.getOnlinePlayers()) {
plugin.getGlowingEntities().setGlowing(player, viewer, ChatColor.GREEN);
}
glowingPlayers.put(player.getUniqueId(), false);
} else {
for (Player viewer : Bukkit.getOnlinePlayers()) {
plugin.getGlowingEntities().setGlowing(player, viewer, ChatColor.RED);
}
glowingPlayers.put(player.getUniqueId(), true);
}
} catch (Exception e) {
e.printStackTrace();
} I have this code running in a scheduler. I am running on 1.21.1 as-well. Running off api version 1.4. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
waiting for response
A solution has been proposed, or a response from the issuer is needed
Hi! I wanted to have my Snowball entity glow red, but when I tried using
GlowingEntites.setGlowing(entity, player, color)
withChatColor.RED
, it turned blue! The reverse happens when usingChatColor.BLUE
: it creates a red glow. I tested it withChatColor.DARK_BLUE
andChatColor.DARK_RED
and the same thing applies! No clue if any other colors are affected, but I thought I'd let you know!The text was updated successfully, but these errors were encountered: