From d9b5dc5dd75821fd1c2f9d6f1c046f9c926cabf4 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 7503b8836..2e99f0f09 100644 --- a/Core/src/main/java/com/plotsquared/core/command/HomeCommand.java +++ b/Core/src/main/java/com/plotsquared/core/command/HomeCommand.java @@ -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) {