diff --git a/src/com/cnaude/chairs/listeners/TrySitEventListener.java b/src/com/cnaude/chairs/listeners/TrySitEventListener.java index 5439f3c..e5b28ac 100644 --- a/src/com/cnaude/chairs/listeners/TrySitEventListener.java +++ b/src/com/cnaude/chairs/listeners/TrySitEventListener.java @@ -92,14 +92,8 @@ public class TrySitEventListener implements Listener { WoodenStep wStep = null; // Check for block is chair - if ( - isValidChair(block) || - ( - !player.hasPermission("chairs.sit.antiopcheck") && - player.hasPermission("chairs.sit." + block.getType().toString()) - ) - ) - { + if (isValidChair(block)) { + if (block.getState().getData() instanceof Stairs) { stairs = (Stairs) block.getState().getData(); } else if (block.getState().getData() instanceof Step) {