mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
SPIGOT-5841: New map colours broken
By: md_5 <git@md-5.net>
This commit is contained in:
parent
aea139dc1f
commit
d709e3ffee
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