mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 10:35:38 +01:00
SPIGOT-5841: New map colours broken
This commit is contained in:
parent
14053c708b
commit
dbc347b93f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user