Skip to content

Commit

Permalink
sit trait onSpawn: use the NPC's look dir instead of chair's
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Feb 3, 2021
1 parent 1613582 commit 8f422d1
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -46,6 +46,9 @@ public void onSpawn() {
sit();
}
else {
chairLocation = chairLocation.clone();
chairLocation.setYaw(npc.getStoredLocation().getYaw());
chairLocation.setPitch(npc.getStoredLocation().getPitch());
sit(chairLocation);
}
}
Expand Down

0 comments on commit 8f422d1

Please sign in to comment.