mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 16:46:45 +01:00
Fix condense with no plots
This commit is contained in:
parent
61a225937d
commit
cdcab96d89
@ -94,6 +94,10 @@ public class Condense extends SubCommand {
|
|||||||
}
|
}
|
||||||
start = Auto.getNextPlot(start, 1);
|
start = Auto.getNextPlot(start, 1);
|
||||||
}
|
}
|
||||||
|
if (free.size() == 0 || to_move.size() == 0) {
|
||||||
|
MainUtil.sendMessage(plr, "NO PLOTS FOUND");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
MainUtil.move(worldname, to_move.get(0), free.get(0), new Runnable() {
|
MainUtil.move(worldname, to_move.get(0), free.get(0), new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
Loading…
Reference in New Issue
Block a user