mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
SPIGOT-5841: New map colours broken
This commit is contained in:
parent
14053c708b
commit
dbc347b93f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue