mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Fix hashCode() crash
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user