SPIGOT-5841: New map colours broken
By: md_5 <git@md-5.net>
This commit is contained in:
parent
4cf580fde0
commit
5037b91f7e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue