mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 12:42:50 +00:00
Why do sideonly methods exist? Fix #2389
This commit is contained in:
1 parent
0e2a84daa1
commit
d16345db41
6 files changed
+7
-5
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).getColorValue();
|
||||
int hex = EnumDyeColor.byMetadata(color).colorValue;
|
||||
int r = (hex & 0xFF0000) >> 16;
|
||||
int g = (hex & 0xFF00) >> 8;
|
||||
int b = hex & 0xFF;
|
||||
|
||||
Reference in new issue
Block a user