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