mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-25 14:34:36 +00:00
Sub-200 errors
This commit is contained in:
1 parent
174fdfd2a5
commit
f3cd87e499
55 files changed
+79
-125
No files matched your search
@@ -52,7 +52,7 @@ public class EntitySignalFlare extends Entity {
|
||||
|
||||
int color = getColor();
|
||||
if(color < 16 && color >= 0) {
|
||||
int hex = EnumDyeColor.byMetadata(color).getMapColor().colorValue;
|
||||
int hex = EnumDyeColor.byMetadata(color).getColorValue();
|
||||
int r = (hex & 0xFF0000) >> 16;
|
||||
int g = (hex & 0xFF00) >> 8;
|
||||
int b = hex & 0xFF;
|
||||
|
||||
Reference in new issue
Block a user