mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Add comprehensive computer integration to Logistical Sorter
This commit is contained in:
1 parent
a892f64e3a
commit
b72740cffd
3 files changed
+182
-2
No files matched your search
@@ -116,4 +116,17 @@ public enum EnumColor implements IStringSerializable
|
||||
{
|
||||
return code;
|
||||
}
|
||||
|
||||
public static EnumColor getFromDyeName(String s)
|
||||
{
|
||||
for(EnumColor c : values())
|
||||
{
|
||||
if(c.dyeName.equalsIgnoreCase(s))
|
||||
{
|
||||
return c;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user