mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Merge remote-tracking branch 'origin/breaking' into breaking
This commit is contained in:
commit
6fa41efbf5
@ -152,9 +152,9 @@ public class BukkitPlayer extends PlotPlayer {
|
|||||||
// Workaround
|
// Workaround
|
||||||
for (PermissionAttachmentInfo attach : effective) {
|
for (PermissionAttachmentInfo attach : effective) {
|
||||||
String permStr = attach.getPermission();
|
String permStr = attach.getPermission();
|
||||||
Permission perm = Bukkit.getPluginManager().getPermission(permStr);
|
if (permStr.startsWith("plots.") && !permStr.equals("plots.use")) {
|
||||||
@NotNull PermissionDefault def = perm.getDefault();
|
return max;
|
||||||
if (!def.getValue(false)) return max;
|
}
|
||||||
}
|
}
|
||||||
CHECK_EFFECTIVE = false;
|
CHECK_EFFECTIVE = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user