Paper/src/main/java/org/bukkit/craftbukkit/map
t00thpick1 e5353b82a7 Correctly validate map colors. Fixes BUKKIT-4984
The validation check in CraftMapView.render(CraftPlayer) filters out any
values less than 0. As of Minecraft 1.7, -128 through -113 are valid colors,
so filtering them out prevents some of the new colors from being sent.

This commit fixes the issue by adjusting the validation check to include
any values less than or equal to -113.  As the minimum value for a byte is
-128, no invalid colors are included.
2013-12-03 18:56:36 -07:00
..
CraftMapCanvas.java Fix formatting. 2012-01-15 10:54:57 +01:00
CraftMapRenderer.java Cleanup comments, formatting, etc 2013-03-25 00:51:36 -05:00
CraftMapView.java Correctly validate map colors. Fixes BUKKIT-4984 2013-12-03 18:56:36 -07:00
RenderData.java Fix formatting. 2012-01-15 10:54:57 +01:00