mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix /look north, improve pathfinding look
Look command: /look north was looking west instead, now fixed Pathfinding: Look straight forward instead of looking to next block on ground
This commit is contained in:
parent
d0088e0dca
commit
342fadbfeb
1 changed files with 2 additions and 2 deletions
|
|
@ -468,7 +468,7 @@ namespace MinecraftClient
|
|||
yaw = 90;
|
||||
break;
|
||||
case Direction.North:
|
||||
yaw = 90;
|
||||
yaw = 180;
|
||||
break;
|
||||
case Direction.South:
|
||||
break;
|
||||
|
|
@ -604,7 +604,7 @@ namespace MinecraftClient
|
|||
{
|
||||
Location next = path.Dequeue();
|
||||
steps = Movement.Move2Steps(location, next, ref motionY);
|
||||
UpdateLocation(location, next); // Update yaw and pitch to look at next step
|
||||
UpdateLocation(location, next + new Location(0, 1, 0)); // Update yaw and pitch to look at next step
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue