Fixed plot list

This commit is contained in:
boy0001
2015-08-05 00:32:26 +10:00
parent 8e240b5274
commit b77b615dd4
3 changed files with 18 additions and 3 deletions

View File

@ -304,7 +304,7 @@ public class list extends SubCommand {
public void displayPlots(PlotPlayer player, List<Plot> plots, int pageSize, int page, String world, String[] args, boolean sort) {
if (sort) {
plots = PS.get().sortPlots(plots, SortType.CREATION_DATE, world);
plots = PS.get().sortPlots(plots, SortType.DISTANCE_FROM_ORIGIN, world);
}
if (page < 0) {
page = 0;