Merge remote-tracking branch 'origin/breaking' into breaking

This commit is contained in:
MattBDev 2019-04-22 11:55:11 -04:00
commit 6fa41efbf5

View File

@ -152,9 +152,9 @@ public class BukkitPlayer extends PlotPlayer {
// Workaround
for (PermissionAttachmentInfo attach : effective) {
String permStr = attach.getPermission();
Permission perm = Bukkit.getPluginManager().getPermission(permStr);
@NotNull PermissionDefault def = perm.getDefault();
if (!def.getValue(false)) return max;
if (permStr.startsWith("plots.") && !permStr.equals("plots.use")) {
return max;
}
}
CHECK_EFFECTIVE = false;
}