mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
Sort plots for /plot home the same as for /plot visit, fixes PS-188
This commit is contained in:
parent
fbebcf57c1
commit
3f05dfe4bf
@ -140,7 +140,7 @@ public class HomeCommand extends Command {
|
|||||||
);
|
);
|
||||||
return CompletableFuture.completedFuture(false);
|
return CompletableFuture.completedFuture(false);
|
||||||
}
|
}
|
||||||
query.withSortingStrategy(SortingStrategy.SORT_BY_CREATION);
|
query.withSortingStrategy(SortingStrategy.SORT_BY_TEMP);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// either plot id or alias
|
// either plot id or alias
|
||||||
@ -202,7 +202,7 @@ public class HomeCommand extends Command {
|
|||||||
query.withPlot(plot);
|
query.withPlot(plot);
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
query.withSortingStrategy(SortingStrategy.SORT_BY_CREATION);
|
query.withSortingStrategy(SortingStrategy.SORT_BY_TEMP);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (basePlotOnly) {
|
if (basePlotOnly) {
|
||||||
|
Loading…
Reference in New Issue
Block a user