mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-05 09:20:52 +01:00
Sort plots for /plot home the same as for /plot visit, fixes PS-188
This commit is contained in:
parent
c7e6564667
commit
d9b5dc5dd7
@ -119,7 +119,7 @@ public class HomeCommand extends Command {
|
||||
Captions.NOT_A_NUMBER.send(player, identifier);
|
||||
return CompletableFuture.completedFuture(false);
|
||||
}
|
||||
query.withSortingStrategy(SortingStrategy.SORT_BY_CREATION);
|
||||
query.withSortingStrategy(SortingStrategy.SORT_BY_TEMP);
|
||||
break;
|
||||
}
|
||||
// either plot id or alias
|
||||
@ -178,7 +178,7 @@ public class HomeCommand extends Command {
|
||||
query.withPlot(plot);
|
||||
break;
|
||||
case 0:
|
||||
query.withSortingStrategy(SortingStrategy.SORT_BY_CREATION);
|
||||
query.withSortingStrategy(SortingStrategy.SORT_BY_TEMP);
|
||||
break;
|
||||
}
|
||||
if (basePlotOnly) {
|
||||
|
Loading…
Reference in New Issue
Block a user