From 3f05dfe4bf893b251b11228c45038ee7d7c984f5 Mon Sep 17 00:00:00 2001 From: Hannes Greule Date: Wed, 24 Feb 2021 08:45:48 +0100 Subject: [PATCH] Sort plots for /plot home the same as for /plot visit, fixes PS-188 --- .../main/java/com/plotsquared/core/command/HomeCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/command/HomeCommand.java b/Core/src/main/java/com/plotsquared/core/command/HomeCommand.java index 9db1e74ce..e6288d3e3 100644 --- a/Core/src/main/java/com/plotsquared/core/command/HomeCommand.java +++ b/Core/src/main/java/com/plotsquared/core/command/HomeCommand.java @@ -140,7 +140,7 @@ public class HomeCommand extends Command { ); return CompletableFuture.completedFuture(false); } - query.withSortingStrategy(SortingStrategy.SORT_BY_CREATION); + query.withSortingStrategy(SortingStrategy.SORT_BY_TEMP); break; } // either plot id or alias @@ -202,7 +202,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) {