From 4f12dcf9666debb2051b2da5d1a059bac447e6b8 Mon Sep 17 00:00:00 2001 From: Kevin Ludwig <32491319+valaphee@users.noreply.github.com> Date: Sat, 25 Sep 2021 15:58:31 +0200 Subject: [PATCH] Return base plot when using alias (#3253) --- Core/src/main/java/com/plotsquared/core/plot/Plot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/plotsquared/core/plot/Plot.java b/Core/src/main/java/com/plotsquared/core/plot/Plot.java index 65a6d8926..1fa369ff5 100644 --- a/Core/src/main/java/com/plotsquared/core/plot/Plot.java +++ b/Core/src/main/java/com/plotsquared/core/plot/Plot.java @@ -368,7 +368,7 @@ public class Plot { for (Plot p : plots) { String name = p.getAlias(); if (!name.isEmpty() && name.equalsIgnoreCase(arg)) { - return p; + return p.getBasePlot(false); } } if (message && player != null) {