This commit is contained in:
Jesse Boyd 2018-03-15 16:34:28 +11:00
parent c208c530ff
commit 368b9a0168
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -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");