mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 12:25:46 +01:00
Fixes #1786
This commit is contained in:
parent
c208c530ff
commit
368b9a0168
@ -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 New Issue
Block a user