mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 12:25:46 +01:00
Return base plot when using alias (#3253)
This commit is contained in:
parent
ee832528db
commit
4f12dcf966
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user