mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-13 11:15:57 -07:00
@@ -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
|
||||||
|
Reference in New Issue
Block a user