Fuck
This commit is contained in:
parent
8dca7e2a9b
commit
971652f3ae
@ -79,8 +79,8 @@ public abstract class SimplyPrevents implements Listener {
|
|||||||
protected boolean prevent(Cancellable event, Player player, String node) {
|
protected boolean prevent(Cancellable event, Player player, String node) {
|
||||||
if (node.contains(",")) {
|
if (node.contains(",")) {
|
||||||
for (String subNode : node.split(",")) {
|
for (String subNode : node.split(",")) {
|
||||||
if (!prevent(event, player, subNode)) {
|
if (prevent(event, player, subNode)) {
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (node.contains(".")) {
|
} else if (node.contains(".")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user