Add workaround for pex and op

This commit is contained in:
Shevchik 2013-12-13 13:09:27 +04:00
parent 55c1271d65
commit 83e4f447a8

View File

@ -116,7 +116,10 @@ public class EventListener implements Listener {
continue;
}
}
if (player.hasPermission("chairs.sit." + block.getType().toString())) {
if (
!player.hasPermission("chairs.sit.antiopcheck") &&
player.hasPermission("chairs.sit." + block.getType().toString())
) {
blockOkay = true;
}
if (blockOkay) {