Skip to content

Commit

Permalink
further improve NPC sitting
Browse files Browse the repository at this point in the history
try more forcefully to remove the arrow.
  • Loading branch information
mcmonkey4eva committed Nov 6, 2014
1 parent 713e518 commit a2fa21f
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -79,6 +79,7 @@ private void standInternal() {
Entity vehicle = npc.getEntity().getVehicle();
npc.despawn();
npc.spawn(npc.getStoredLocation().clone().add(0, 0.5, 0));
vehicle.setPassenger(null);
if (vehicle != null && vehicle.isValid()) {
vehicle.remove();
}
Expand Down

0 comments on commit a2fa21f

Please sign in to comment.