mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-25 08:35:26 +02:00
Return base plot when using alias (#3253)
This commit is contained in:
@@ -368,7 +368,7 @@ public class Plot {
|
|||||||
for (Plot p : plots) {
|
for (Plot p : plots) {
|
||||||
String name = p.getAlias();
|
String name = p.getAlias();
|
||||||
if (!name.isEmpty() && name.equalsIgnoreCase(arg)) {
|
if (!name.isEmpty() && name.equalsIgnoreCase(arg)) {
|
||||||
return p;
|
return p.getBasePlot(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (message && player != null) {
|
if (message && player != null) {
|
||||||
|
Reference in New Issue
Block a user