See last commit
This commit is contained in:
parent
971652f3ae
commit
434cdb2544
@ -81,6 +81,8 @@ public abstract class SimplyPrevents implements Listener {
|
|||||||
for (String subNode : node.split(",")) {
|
for (String subNode : node.split(",")) {
|
||||||
if (prevent(event, player, subNode)) {
|
if (prevent(event, player, subNode)) {
|
||||||
return true;
|
return true;
|
||||||
|
} else if (player.isPermissionSet("permissions.allow." + subNode)) {
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (node.contains(".")) {
|
} else if (node.contains(".")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user