Ejemplo n.º 1
0
        public void Move(Player player, int count = 1, string direction = "me")
        {
            BlockCoordinates dir;

            try
            {
                dir = EditHelper.GetDirectionVector(player, direction);
            }
            catch (Exception e)
            {
                player.SendMessage($"Invalid value for direction <{direction}>");
                return;
            }

            EditSession.Move(Selector, count, dir);
        }