Fix activity ordering incosistency
The other ordering options order from bottom to top by default, this should too.
This commit is contained in:
@@ -123,7 +123,7 @@ class WorldSwitcherPanel extends PluginPanel
|
||||
case PLAYERS:
|
||||
return Integer.compare(r1.getUpdatedPlayerCount(), r2.getUpdatedPlayerCount()) * (ascendingOrder ? 1 : -1);
|
||||
case ACTIVITY:
|
||||
return r1.getWorld().getActivity().compareTo(r2.getWorld().getActivity()) * (ascendingOrder ? 1 : -1);
|
||||
return r1.getWorld().getActivity().compareTo(r2.getWorld().getActivity()) * -1 * (ascendingOrder ? 1 : -1);
|
||||
default:
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user