mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-12 03:59:22 +00:00
Fix condense with no plots
This commit is contained in:
parent
61a225937d
commit
cdcab96d89
1 changed files with 4 additions and 0 deletions
|
@ -94,6 +94,10 @@ public class Condense extends SubCommand {
|
|||
}
|
||||
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() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
|
Loading…
Reference in a new issue