mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Fixes #2435
This commit is contained in:
parent
23b88a375d
commit
e8df39d3c4
1 changed files with 1 additions and 1 deletions
|
@ -2379,7 +2379,7 @@ import java.util.regex.Pattern;
|
|||
Captions.PERMISSION_ADMIN_BUILD_UNOWNED);
|
||||
event.setCancelled(true);
|
||||
} 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;
|
||||
}
|
||||
if (Permissions.hasPermission(pp, Captions.PERMISSION_ADMIN_BUILD_OTHER)) {
|
||||
|
|
Loading…
Reference in a new issue