Fix half blocks height adjust
This commit is contained in:
parent
678e36f285
commit
8f8fcd26cb
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user