This commit is contained in:
Jesse Boyd 2016-12-02 17:17:16 +11:00
parent 6cc744a2e6
commit f50d32f06b
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -379,7 +379,7 @@ public class PlayerEvents extends PlotListener implements Listener {
case "/up":
case "worldedit:up":
case "worldedit:/up":
if (plot == null || (!plot.isAdded(pp.getUUID()) && Permissions.hasPermission(pp, C.PERMISSION_ADMIN_BUILD_OTHER, true))) {
if (plot == null || (!plot.isAdded(pp.getUUID()) && !Permissions.hasPermission(pp, C.PERMISSION_ADMIN_BUILD_OTHER, true))) {
event.setCancelled(true);
return;
}