mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-11 19:50:38 +00:00
parent
2f74368879
commit
749ab83e5d
1 changed files with 1 additions and 1 deletions
|
@ -48,11 +48,11 @@ public class WEManager {
|
|||
if (area == null) {
|
||||
return regions;
|
||||
}
|
||||
boolean allowMember = player.hasPermission("plots.worldedit.member");
|
||||
for (Plot plot : area.getPlots()) {
|
||||
if (!plot.isBasePlot() || (Settings.Done.RESTRICT_BUILDING && (plot.getFlag(Flags.DONE).isPresent()))) {
|
||||
continue;
|
||||
}
|
||||
boolean allowMember = player.hasPermission("plots.worldedit.member");
|
||||
if (allowMember && plot.isAdded(uuid) || !allowMember && (plot.isOwner(uuid) || plot.getTrusted().contains(uuid))) {
|
||||
regions.addAll(plot.getRegions());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue