Archiviert
13
0

SPIGOT-3331: New map colours don't display

Dieser Commit ist enthalten in:
md_5 2017-06-12 19:16:30 +10:00
Ursprung ec47e791bd
Commit f85977ae6f

Datei anzeigen

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