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 // 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;
} }