Merge remote-tracking branch 'origin/v5' into v5

This commit is contained in:
Alexander Söderberg 2020-05-14 14:16:17 +02:00
commit 501fd9c8e6
No known key found for this signature in database
GPG Key ID: C0207FF7EA146678

View File

@ -169,6 +169,9 @@ public class Auto extends SubCommand {
}
}
}
if (PlotSquared.get().getPlotAreaManager().getAllPlotAreas().length == 1) {
plotarea = PlotSquared.get().getPlotAreaManager().getAllPlotAreas()[0];
}
if (plotarea == null) {
MainUtil.sendMessage(player, Captions.NOT_IN_PLOT_WORLD);
return false;