Skip to content
Permalink
Browse files

Fixed chairs facing the opposite direction

  • Loading branch information...
me4502 committed Jul 1, 2019
1 parent e06c127 commit 6b39846e6afabb4257e86eaa85b1922c448ae170
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/sk89q/craftbook/mechanics/Chair.java
@@ -251,7 +251,7 @@ public void onRightClick(PlayerInteractEvent event) {

BlockData blockData = event.getClickedBlock().getBlockData();
if(chairFacing && blockData instanceof Directional) {
BlockFace direction = ((Directional) blockData).getFacing();
BlockFace direction = ((Directional) blockData).getFacing().getOppositeFace();

double dx = direction.getModX();
double dy = direction.getModY();

0 comments on commit 6b39846

Please sign in to comment.
You can’t perform that action at this time.