Fix half blocks height adjust

This commit is contained in:
Shevchik 2013-09-05 11:50:55 +04:00
parent 678e36f285
commit 8f8fcd26cb

View File

@ -261,6 +261,8 @@ public class EventListener implements Listener {
Stairs stairs = null; Stairs stairs = null;
if (block.getState().getData() instanceof Stairs) { if (block.getState().getData() instanceof Stairs) {
stairs = (Stairs) block.getState().getData(); stairs = (Stairs) block.getState().getData();
} else if (block.getState().getData() instanceof Step) {
} else if (block.getState().getData() instanceof WoodenStep) {
} else { } else {
sh += plugin.sittingHeightAdj; sh += plugin.sittingHeightAdj;
} }