Permalink
Browse files

Update yaw of armour stands.

  • Loading branch information...
me4502 committed Oct 31, 2016
1 parent f07b22b commit 1f224791213847735f7311c6462a1de7c96c58a6
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/main/java/com/sk89q/craftbook/mechanics/Chair.java
@@ -272,6 +272,8 @@ public void run() {
continue;
}
+ pl.getValue().chairEntity.getLocation().setYaw(p.getLocation().getYaw());
+
if (!chairBlocks.contains(new ItemInfo(pl.getValue().location)) || !p.getWorld().equals(pl.getValue().location.getWorld()) || LocationUtil.getDistanceSquared(p.getLocation(), pl.getValue().location.getLocation()) > 2)
removeChair(p);
else {

0 comments on commit 1f22479

Please sign in to comment.