Skip to content

Commit

Permalink
re-fix other_block for doors, for #2065
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Nov 6, 2019
1 parent 602caa3 commit 48fe584
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -126,10 +126,10 @@ else if (data instanceof Chest) {
public static Vector getRelativeBlockVector(BlockData data) {
if (data instanceof Bisected) {
if (((Bisected) data).getHalf() == Bisected.Half.TOP) {
return new Vector(0, 0, -1);
return new Vector(0, -1, 0);
}
else {
return new Vector(0, 0, 1);
return new Vector(0, 1, 0);
}
}
else if (data instanceof Bed) {
Expand Down

0 comments on commit 48fe584

Please sign in to comment.