Permalink
Browse files

Removed debug output in chairs

  • Loading branch information...
me4502 committed Jan 6, 2018
1 parent 93ac5e4 commit 3d4a97ac2098a95745c69c78932f14456cb8c983
@@ -168,7 +168,6 @@ private void addChair(Player player, Location<World> location) {
entity.offer(Keys.HAS_GRAVITY, false);
if (faceCorrectDirection.getValue() && location.supports(Keys.DIRECTION)) {
System.out.println(location.get(Keys.DIRECTION).orElse(Direction.NONE).getOpposite().asOffset());
Vector3d euler = LocationUtil.cartesianToEuler(location.get(Keys.DIRECTION).orElse(Direction.NONE).getOpposite().asOffset());
entity.setRotation(euler);
player.setRotation(euler);

0 comments on commit 3d4a97a

Please sign in to comment.