Fix hashCode() crash

This commit is contained in:
Aidan C. Brady committed 2013-10-30 23:50:38 -04:00
1 parent abe549bf13
commit 43ee7f68df
1 file changed
+1 -1
@@ -99,7 +99,7 @@ public abstract class TransporterFilter
public int hashCode()
{
int code = 1;
code = 31 * code + color.ordinal();
code = 31 * code + (color != null ? color.ordinal() : -1);
return code;
}