From 8f8fcd26cbbf26fad8f482231b22e2a392779cd2 Mon Sep 17 00:00:00 2001 From: Shevchik Date: Thu, 5 Sep 2013 11:50:55 +0400 Subject: [PATCH] Fix half blocks height adjust --- src/com/cnaude/chairs/EventListener.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/cnaude/chairs/EventListener.java b/src/com/cnaude/chairs/EventListener.java index 38de9db..ca15f72 100644 --- a/src/com/cnaude/chairs/EventListener.java +++ b/src/com/cnaude/chairs/EventListener.java @@ -261,6 +261,8 @@ public class EventListener implements Listener { Stairs stairs = null; if (block.getState().getData() instanceof Stairs) { stairs = (Stairs) block.getState().getData(); + } else if (block.getState().getData() instanceof Step) { + } else if (block.getState().getData() instanceof WoodenStep) { } else { sh += plugin.sittingHeightAdj; }