SPIGOT-5841: New map colours broken

This commit is contained in:
md_5 2020-06-27 09:05:09 +10:00
parent 14053c708b
commit dbc347b93f
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ public final class CraftMapView implements MapView {
for (int i = 0; i < buf.length; ++i) {
byte color = buf[i];
// There are 208 valid color id's, 0 -> 127 and -128 -> -49
if (color >= 0 || color <= -49) render.buffer[i] = color;
if (color >= 0 || color <= -21) render.buffer[i] = color;
}
for (int i = 0; i < canvas.getCursors().size(); ++i) {