mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Auxiliary class for Direction, preparation for autodetection of the broken side of the block
This commit is contained in:
parent
fde50c1728
commit
91ef890bb6
4 changed files with 43 additions and 3 deletions
|
|
@ -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]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue