This commit is contained in:
Jesse Boyd 2017-03-14 01:56:14 +11:00
parent 491cc50440
commit 411c75b219
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -517,6 +517,7 @@ public class MainListener {
if (plot == null) { if (plot == null) {
if (!Permissions.hasPermission(pp, C.PERMISSION_ADMIN_BUILD_ROAD, true)) { if (!Permissions.hasPermission(pp, C.PERMISSION_ADMIN_BUILD_ROAD, true)) {
event.setCancelled(true); event.setCancelled(true);
}
return; return;
} }
if (plot.hasOwner()) { if (plot.hasOwner()) {
@ -540,7 +541,6 @@ public class MainListener {
return; return;
} }
} }
}
@Listener @Listener
public void onBlockPlace(ChangeBlockEvent.Place event) { public void onBlockPlace(ChangeBlockEvent.Place event) {