mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Fixes #1538
This commit is contained in:
parent
ad11ad3472
commit
0b6d2d3dd6
@ -185,8 +185,8 @@ public class ListCmd extends SubCommand {
|
||||
Collections.sort(plots, new Comparator<Plot>() {
|
||||
@Override
|
||||
public int compare(Plot a, Plot b) {
|
||||
String va = (String) a.getFlags().get(Flags.DONE);
|
||||
String vb = (String) b.getFlags().get(Flags.DONE);
|
||||
String va = "" + a.getFlags().get(Flags.DONE);
|
||||
String vb = "" + b.getFlags().get(Flags.DONE);
|
||||
if (MathMan.isInteger(va)) {
|
||||
if (MathMan.isInteger(vb)) {
|
||||
return Integer.parseInt(vb) - Integer.parseInt(va);
|
||||
|
Loading…
Reference in New Issue
Block a user