mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Fixes #2435
This commit is contained in:
parent
23b88a375d
commit
e8df39d3c4
@ -2379,7 +2379,7 @@ import java.util.regex.Pattern;
|
|||||||
Captions.PERMISSION_ADMIN_BUILD_UNOWNED);
|
Captions.PERMISSION_ADMIN_BUILD_UNOWNED);
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
} else if (!plot.isAdded(pp.getUUID())) {
|
} else if (!plot.isAdded(pp.getUUID())) {
|
||||||
if (Flags.USE.contains(plot, PlotBlock.get(event.getBucket().getId(), 0))) {
|
if (Flags.USE.contains(plot, PlotBlock.get(event.getBucket().name()))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (Permissions.hasPermission(pp, Captions.PERMISSION_ADMIN_BUILD_OTHER)) {
|
if (Permissions.hasPermission(pp, Captions.PERMISSION_ADMIN_BUILD_OTHER)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user