summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/map/MapPalette.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/map/MapPalette.java b/src/main/java/org/bukkit/map/MapPalette.java
index b9935b7d..959929cf 100644
--- a/src/main/java/org/bukkit/map/MapPalette.java
+++ b/src/main/java/org/bukkit/map/MapPalette.java
@@ -97,7 +97,7 @@ public final class MapPalette {
byte[] result = new byte[temp.getWidth() * temp.getHeight()];
for (int i = 0; i < pixels.length; i++) {
- result[i] = matchColor(new Color(pixels[i]));
+ result[i] = matchColor(new Color(pixels[i], true));
}
return result;
}