Comparable/Comparator implementation now use fast Java built-ins for primitive types rather than hand-coded versions. Also DRY some code and simplify logic. This maintains the "biggest stack first" notion of "ascending", but also fixes the inconsistent/accidental reversal of sort by mod (the mod name should sort the same direction as the item name).
This commit is contained in:
@@ -68,4 +68,4 @@ public class ClientDCInternalInv implements Comparable<ClientDCInternalInv>
|
||||
{
|
||||
return this.id;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user