mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
SPIGOT-5841: New map colours broken
This commit is contained in:
parent
edc7a378c9
commit
e4db04aeb2
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ public final class MapPalette {
|
||||||
@Deprecated
|
@Deprecated
|
||||||
@NotNull
|
@NotNull
|
||||||
public static Color getColor(byte index) {
|
public static Color getColor(byte index) {
|
||||||
if ((index > -49 && index < 0) || index > 127) {
|
if ((index > -21 && index < 0) || index > 127) {
|
||||||
throw new IndexOutOfBoundsException();
|
throw new IndexOutOfBoundsException();
|
||||||
} else {
|
} else {
|
||||||
// Minecraft has 143 colors, some of which have negative byte representations
|
// Minecraft has 143 colors, some of which have negative byte representations
|
||||||
|
|
Loading…
Add table
Reference in a new issue