Add workaround for pex and op
This commit is contained in:
parent
55c1271d65
commit
83e4f447a8
@ -116,7 +116,10 @@ public class EventListener implements Listener {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (player.hasPermission("chairs.sit." + block.getType().toString())) {
|
if (
|
||||||
|
!player.hasPermission("chairs.sit.antiopcheck") &&
|
||||||
|
player.hasPermission("chairs.sit." + block.getType().toString())
|
||||||
|
) {
|
||||||
blockOkay = true;
|
blockOkay = true;
|
||||||
}
|
}
|
||||||
if (blockOkay) {
|
if (blockOkay) {
|
||||||
|
Loading…
Reference in New Issue
Block a user