mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
fixes #2211
This commit is contained in:
parent
c450e4aed3
commit
0f8b7cd588
@ -96,7 +96,9 @@ import java.util.*;
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
unsorted = new ArrayList<>(unsorted);
|
unsorted = new ArrayList<>(unsorted);
|
||||||
unsorted.removeIf(plot -> !plot.isBasePlot());
|
if (unsorted.size() > 1) {
|
||||||
|
unsorted.removeIf(plot -> !plot.isBasePlot());
|
||||||
|
}
|
||||||
if (page < 1 || page > unsorted.size()) {
|
if (page < 1 || page > unsorted.size()) {
|
||||||
Captions.NOT_VALID_NUMBER.send(player, "(1, " + unsorted.size() + ")");
|
Captions.NOT_VALID_NUMBER.send(player, "(1, " + unsorted.size() + ")");
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user