DigBlock/PlaceBlock: Use Direction enum

Still work in progress (#1071)
This commit is contained in:
ORelio 2020-06-20 16:07:54 +02:00
parent c69e87bec3
commit 6df5076d19
7 changed files with 62 additions and 69 deletions

View file

@ -22,7 +22,7 @@ namespace MinecraftClient.Commands
int x = Convert.ToInt32(args[0]);
int y = Convert.ToInt32(args[1]);
int z = Convert.ToInt32(args[2]);
handler.PlaceBlock(new Location(x, y, z), 0);
handler.PlaceBlock(new Location(x, y, z), Direction.Down);
}
else { return CMDDesc; }
}