Auxiliary class for Direction, preparation for autodetection of the broken side of the block

This commit is contained in:
Roman Danilov 2024-03-05 20:30:58 +05:00
parent fde50c1728
commit 91ef890bb6
4 changed files with 43 additions and 3 deletions

View file

@ -651,7 +651,7 @@ public class WebSocketBot : ChatBot
var result = cmd.Parameters.Length switch
{
// TODO Get Direction from the arguments
// TODO Get blockFace direction from arguments
3 => DigBlock(location, Direction.Down),
4 => DigBlock(location, Direction.Down, (bool)cmd.Parameters[3]),
5 => DigBlock(location, Direction.Down, (bool)cmd.Parameters[3], (bool)cmd.Parameters[4]),