mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Fixes #1786
This commit is contained in:
parent
c208c530ff
commit
368b9a0168
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ public class WEManager {
|
||||||
}
|
}
|
||||||
boolean allowMember = player.hasPermission("plots.worldedit.member");
|
boolean allowMember = player.hasPermission("plots.worldedit.member");
|
||||||
Plot plot = player.getCurrentPlot();
|
Plot plot = player.getCurrentPlot();
|
||||||
|
if (Flags.NO_WORLDEDIT.isTrue(plot)) return regions;
|
||||||
HashSet<RegionWrapper> allowed = new HashSet<>();
|
HashSet<RegionWrapper> allowed = new HashSet<>();
|
||||||
if (plot == null) {
|
if (plot == null) {
|
||||||
plot = player.getMeta("WorldEditRegionPlot");
|
plot = player.getMeta("WorldEditRegionPlot");
|
||||||
|
|
Loading…
Reference in a new issue