mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Fixes #1538
This commit is contained in:
parent
ad11ad3472
commit
0b6d2d3dd6
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue