mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-10-31 08:29:42 +01:00
parent
491cc50440
commit
411c75b219
@ -517,6 +517,7 @@ public class MainListener {
|
||||
if (plot == null) {
|
||||
if (!Permissions.hasPermission(pp, C.PERMISSION_ADMIN_BUILD_ROAD, true)) {
|
||||
event.setCancelled(true);
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (plot.hasOwner()) {
|
||||
@ -540,7 +541,6 @@ public class MainListener {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Listener
|
||||
public void onBlockPlace(ChangeBlockEvent.Place event) {
|
||||
|
Loading…
Reference in New Issue
Block a user