mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 18:22:08 -07:00
@@ -260,7 +260,7 @@ public final class MapPalette {
|
||||
@Deprecated
|
||||
@NotNull
|
||||
public static Color getColor(byte index) {
|
||||
if ((index > -49 && index < 0) || index > 127) {
|
||||
if ((index > -21 && index < 0) || index > 127) {
|
||||
throw new IndexOutOfBoundsException();
|
||||
} else {
|
||||
// Minecraft has 143 colors, some of which have negative byte representations
|
||||
|
Reference in New Issue
Block a user